diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-09-15 19:12:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-28 13:20:20 (GMT) |
commit | 65a30c69a2f895321e692edb4a1d0de9a2114d6d (patch) | |
tree | da37e55e9338cbd59b5438b21a2787aeb4ae7164 /Source | |
parent | 875f3a4231766d9534304b3bb74a321c1bcd15d1 (diff) | |
download | CMake-65a30c69a2f895321e692edb4a1d0de9a2114d6d.zip CMake-65a30c69a2f895321e692edb4a1d0de9a2114d6d.tar.gz CMake-65a30c69a2f895321e692edb4a1d0de9a2114d6d.tar.bz2 |
cmGlobalGenerator.h: some minor coding style fixes
- this-> was missing
- removed unnecessary semicolons
- indented unindented lines
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalGenerator.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index ce91793..b0c7059 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -127,8 +127,8 @@ public: void SetCMakeInstance(cmake *cm); ///! Get the CMake instance - cmake *GetCMakeInstance() { return this->CMakeInstance; }; - const cmake *GetCMakeInstance() const { return this->CMakeInstance; }; + cmake *GetCMakeInstance() { return this->CMakeInstance; } + const cmake *GetCMakeInstance() const { return this->CMakeInstance; } void SetConfiguredFilesPath(cmGlobalGenerator* gen); const std::vector<cmLocalGenerator *>& GetLocalGenerators() const { @@ -151,7 +151,7 @@ public: void AddInstallComponent(const char* component); const std::set<cmStdString>* GetInstallComponents() const - { return &InstallComponents; } + { return &this->InstallComponents; } ///! Add one installed target to the sets of the exports void AddTargetToExports(const char* exportSet, cmTarget* target, @@ -222,7 +222,7 @@ public: /** Get the manifest of all targets that will be built for each configuration. This is valid during generation only. */ cmTargetManifest const& GetTargetManifest() const - { return this->TargetManifest; } + { return this->TargetManifest; } /** Get the content of a directory. Directory listings are loaded from disk at most once and cached. During the generation step @@ -328,8 +328,7 @@ protected: cmLocalGenerator* CurrentLocalGenerator; // map from project name to vector of local generators in that project std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap; - std::map<cmLocalGenerator*, std::set<cmTarget *> > - LocalGeneratorToTargetMap; + std::map<cmLocalGenerator*, std::set<cmTarget *> > LocalGeneratorToTargetMap; // Set of named installation components requested by the project. std::set<cmStdString> InstallComponents; |