diff options
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.cxx')
| -rw-r--r-- | Source/cmLocalVisualStudio10Generator.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx index 4c0d2eea..8fe6677 100644 --- a/Source/cmLocalVisualStudio10Generator.cxx +++ b/Source/cmLocalVisualStudio10Generator.cxx @@ -18,8 +18,8 @@ class cmGeneratorTarget; class cmVS10XMLParser : public cmXMLParser { public: - virtual void EndElement(const std::string& /* name */) {} - virtual void CharacterDataHandler(const char* data, int length) + void EndElement(const std::string& /* name */) override {} + void CharacterDataHandler(const char* data, int length) override { if (this->DoGUID) { if (data[0] == '{') { @@ -31,7 +31,7 @@ public: this->DoGUID = false; } } - virtual void StartElement(const std::string& name, const char**) + void StartElement(const std::string& name, const char**) override { // once the GUID is found do nothing if (!this->GUID.empty()) { @@ -41,7 +41,7 @@ public: this->DoGUID = true; } } - int InitializeParser() + int InitializeParser() override { this->DoGUID = false; int ret = cmXMLParser::InitializeParser(); @@ -63,9 +63,7 @@ cmLocalVisualStudio10Generator::cmLocalVisualStudio10Generator( { } -cmLocalVisualStudio10Generator::~cmLocalVisualStudio10Generator() -{ -} +cmLocalVisualStudio10Generator::~cmLocalVisualStudio10Generator() = default; void cmLocalVisualStudio10Generator::GenerateTarget(cmGeneratorTarget* target) { |
