summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.cxx
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-07-01 08:11:17 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-14 14:35:58 (GMT)
commit43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688 (patch)
tree3ef39571f27777b9275cfee274a37e8da71418a3 /Source/cmGlobalVisualStudio9Generator.cxx
parentaf0e1cd4cbb7029de0877de9db72ba37085abff2 (diff)
downloadCMake-43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688.zip
CMake-43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688.tar.gz
CMake-43a68a6dcaa7a98d94a71b4f2ecc2e2c63c84688.tar.bz2
cmGlobalGeneratorFactory: Use CM_OVERRIDE for all derived classes
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx
index a47f4fc..b65a5a9 100644
--- a/Source/cmGlobalVisualStudio9Generator.cxx
+++ b/Source/cmGlobalVisualStudio9Generator.cxx
@@ -23,8 +23,8 @@ static const char vs9generatorName[] = "Visual Studio 9 2008";
class cmGlobalVisualStudio9Generator::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
{
if (strncmp(name.c_str(), vs9generatorName,
sizeof(vs9generatorName) - 1) != 0) {
@@ -62,14 +62,14 @@ public:
return ret;
}
- virtual void GetDocumentation(cmDocumentationEntry& entry) const
+ void GetDocumentation(cmDocumentationEntry& entry) const CM_OVERRIDE
{
entry.Name = std::string(vs9generatorName) + " [arch]";
entry.Brief = "Generates Visual Studio 2008 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(vs9generatorName);
names.push_back(vs9generatorName + std::string(" Win64"));
@@ -85,7 +85,7 @@ public:
}
}
- virtual bool SupportsToolset() const { return false; }
+ bool SupportsToolset() const CM_OVERRIDE { return false; }
};
cmGlobalGeneratorFactory* cmGlobalVisualStudio9Generator::NewFactory()