summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 18:44:51 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:29 (GMT)
commit27e37b8a5a661c7c6ea700d6b3e535cf4a582277 (patch)
tree69e77e3fa760814cf3842f3c19b4c695ba6aabd2 /Source/cmLocalVisualStudio7Generator.cxx
parent83d685ee1bfb58ee53aee9e94595ff3ed4e44096 (diff)
downloadCMake-27e37b8a5a661c7c6ea700d6b3e535cf4a582277.zip
CMake-27e37b8a5a661c7c6ea700d6b3e535cf4a582277.tar.gz
CMake-27e37b8a5a661c7c6ea700d6b3e535cf4a582277.tar.bz2
clang-tidy: fix `modernize-use-override` lints
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index fab64c1..138ea54 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -2165,8 +2165,8 @@ void cmVS7GeneratorOptions::OutputFlag(std::ostream& fout, int indent,
class cmVS7XMLParser : public cmXMLParser
{
public:
- virtual void EndElement(const std::string& /* name */) {}
- virtual void StartElement(const std::string& name, const char** atts)
+ void EndElement(const std::string& /* name */) override {}
+ void StartElement(const std::string& name, const char** atts) override
{
// once the GUID is found do nothing
if (!this->GUID.empty()) {
@@ -2191,7 +2191,7 @@ public:
}
}
}
- int InitializeParser()
+ int InitializeParser() override
{
int ret = cmXMLParser::InitializeParser();
if (ret == 0) {