diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-15 20:07:16 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-15 20:07:16 (GMT) |
commit | 6d200fa6be62a4708bfef1d05925d841fed7b487 (patch) | |
tree | adff2397401d36deabb987d43627f3e185403584 /Source/cmMakefile.h | |
parent | 510cb415d4d97a6c849e1c41ddb70457c8747213 (diff) | |
download | CMake-6d200fa6be62a4708bfef1d05925d841fed7b487.zip CMake-6d200fa6be62a4708bfef1d05925d841fed7b487.tar.gz CMake-6d200fa6be62a4708bfef1d05925d841fed7b487.tar.bz2 |
STYLE: minor fixes
Alex
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 39ca4f8..502b886 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -721,10 +721,10 @@ public: ///! Set/Get the preorder flag void SetPreOrder(bool p) { this->PreOrder = p; } - bool GetPreOrder() { return this->PreOrder; } + bool GetPreOrder() const { return this->PreOrder; } void AddInstallGenerator(cmInstallGenerator* g) - { this->InstallGenerators.push_back(g); } + { if(g) this->InstallGenerators.push_back(g); } std::vector<cmInstallGenerator*>& GetInstallGenerators() { return this->InstallGenerators; } |