diff options
author | Matthias Maennich <matthias@maennich.net> | 2017-09-19 14:00:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-28 11:23:41 (GMT) |
commit | a45928cdebcf37de2605e4f58509a37542dd9eba (patch) | |
tree | 57e18d073c2fdcc2fd9c7d3d04b982c4fb5b2f48 /Source/cmGlobalXCodeGenerator.cxx | |
parent | b128f8c5bc02f716c700d4560b949b05afdcb659 (diff) | |
download | CMake-a45928cdebcf37de2605e4f58509a37542dd9eba.zip CMake-a45928cdebcf37de2605e4f58509a37542dd9eba.tar.gz CMake-a45928cdebcf37de2605e4f58509a37542dd9eba.tar.bz2 |
Fix some occurrences of missing override keywords
Fix issues diagnosed by clang-tidy [modernize-use-override].
These occurrences are only showing up on OSX.
Signed-off-by: Matthias Maennich <matthias@maennich.net>
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index a1bec6b..29b06c3 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -47,8 +47,11 @@ public: : Version("1.5") { } - void StartElement(const std::string&, const char**) { this->Data = ""; } - void EndElement(const std::string& name) + void StartElement(const std::string&, const char**) override + { + this->Data = ""; + } + void EndElement(const std::string& name) override { if (name == "key") { this->Key = this->Data; @@ -58,7 +61,7 @@ public: } } } - void CharacterDataHandler(const char* data, int length) + void CharacterDataHandler(const char* data, int length) override { this->Data.append(data, length); } |