mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
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>
This commit is contained in:
committed by
Brad King
parent
b128f8c5bc
commit
a45928cdeb
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user