Commit fb744ed4 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'fix-override'

c9d2e1ce Fix missing `override`
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3061
parents d564d061 c9d2e1ce
...@@ -206,8 +206,8 @@ class cmGlobalVisualStudioVersionedGenerator::Factory16 ...@@ -206,8 +206,8 @@ class cmGlobalVisualStudioVersionedGenerator::Factory16
: public cmGlobalGeneratorFactory : public cmGlobalGeneratorFactory
{ {
public: public:
virtual cmGlobalGenerator* CreateGlobalGenerator(const std::string& name, cmGlobalGenerator* CreateGlobalGenerator(const std::string& name,
cmake* cm) const cmake* cm) const override
{ {
std::string genName; std::string genName;
const char* p = cmVS16GenName(name, genName); const char* p = cmVS16GenName(name, genName);
...@@ -221,7 +221,7 @@ public: ...@@ -221,7 +221,7 @@ public:
return 0; return 0;
} }
virtual void GetDocumentation(cmDocumentationEntry& entry) const void GetDocumentation(cmDocumentationEntry& entry) const override
{ {
entry.Name = std::string(vs16generatorName); entry.Name = std::string(vs16generatorName);
entry.Brief = "Generates Visual Studio 2019 project files. " entry.Brief = "Generates Visual Studio 2019 project files. "
......
...@@ -23,7 +23,7 @@ public: ...@@ -23,7 +23,7 @@ public:
/** /**
* Generate the makefile for this directory. * Generate the makefile for this directory.
*/ */
virtual void Generate(); void Generate() override;
std::string GetTargetDirectory( std::string GetTargetDirectory(
cmGeneratorTarget const* target) const override; cmGeneratorTarget const* target) const override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment