diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-07-01 08:11:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-14 14:35:58 (GMT) |
commit | 43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688 (patch) | |
tree | 3ef39571f27777b9275cfee274a37e8da71418a3 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | af0e1cd4cbb7029de0877de9db72ba37085abff2 (diff) | |
download | CMake-43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688.zip CMake-43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688.tar.gz CMake-43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688.tar.bz2 |
cmGlobalGeneratorFactory: Use CM_OVERRIDE for all derived classes
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 90ff98b..2379266 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -42,8 +42,8 @@ class cmGlobalVisualStudio10Generator::Factory : public cmGlobalGeneratorFactory { public: - virtual cmGlobalGenerator* CreateGlobalGenerator(const std::string& name, - cmake* cm) const + cmGlobalGenerator* CreateGlobalGenerator(const std::string& name, + cmake* cm) const CM_OVERRIDE { std::string genName; const char* p = cmVS10GenName(name, genName); @@ -65,21 +65,21 @@ public: return 0; } - virtual void GetDocumentation(cmDocumentationEntry& entry) const + void GetDocumentation(cmDocumentationEntry& entry) const CM_OVERRIDE { entry.Name = std::string(vs10generatorName) + " [arch]"; entry.Brief = "Generates Visual Studio 2010 project files. " "Optional [arch] can be \"Win64\" or \"IA64\"."; } - virtual void GetGenerators(std::vector<std::string>& names) const + void GetGenerators(std::vector<std::string>& names) const CM_OVERRIDE { names.push_back(vs10generatorName); names.push_back(vs10generatorName + std::string(" IA64")); names.push_back(vs10generatorName + std::string(" Win64")); } - virtual bool SupportsToolset() const { return true; } + bool SupportsToolset() const CM_OVERRIDE { return true; } }; cmGlobalGeneratorFactory* cmGlobalVisualStudio10Generator::NewFactory() |