diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-02-05 14:59:46 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-02-06 00:50:54 (GMT) |
commit | b721b9a3814ea85462197a911da12b94c2906a3f (patch) | |
tree | 29aed6384a6e3c97886e83cd54bd7e61882e2a2d /Source/cmVisualStudio10TargetGenerator.h | |
parent | f211193afee5ff478d61ff0678e13b6180c481a5 (diff) | |
download | CMake-b721b9a3814ea85462197a911da12b94c2906a3f.zip CMake-b721b9a3814ea85462197a911da12b94c2906a3f.tar.gz CMake-b721b9a3814ea85462197a911da12b94c2906a3f.tar.bz2 |
cmVisualStudio10TargetGenerator: Make some data members const; simplify
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index 33d4fb7..adef127 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -190,19 +190,19 @@ private: bool InSourceBuild; std::vector<std::string> Configurations; std::vector<TargetsFileAndConfigs> TargetsFileAndConfigsVec; - cmGeneratorTarget* GeneratorTarget; - cmMakefile* Makefile; - std::string Platform; - std::string GUID; - std::string Name; + cmGeneratorTarget* const GeneratorTarget; + cmMakefile* const Makefile; + std::string const Platform; + std::string const Name; + std::string const GUID; bool MSTools; bool Managed; bool NsightTegra; int NsightTegraVersion[4]; bool TargetCompileAsWinRT; - cmGlobalVisualStudio10Generator* GlobalGenerator; + cmGlobalVisualStudio10Generator* const GlobalGenerator; cmGeneratedFileStream* BuildFileStream; - cmLocalVisualStudio7Generator* LocalGenerator; + cmLocalVisualStudio7Generator* const LocalGenerator; std::set<cmSourceFile const*> SourcesVisited; std::set<std::string> CSharpCustomCommandNames; bool IsMissingFiles; |