Gui: Use override etc 2

This commit is contained in:
berniev
2022-08-09 13:56:15 +10:00
committed by wwmayer
parent 810c3780de
commit 75fa455c5d
213 changed files with 1723 additions and 1723 deletions

View File

@@ -48,11 +48,11 @@ public:
: Base::XMLReader(FileName, str), nameMap(name)
{}
void addName(const char* s1, const char* s2)
void addName(const char* s1, const char* s2) override
{
nameMap[s1] = s2;
}
const char* getName(const char* name) const
const char* getName(const char* name) const override
{
std::map<std::string, std::string>::const_iterator it = nameMap.find(name);
if (it != nameMap.end())
@@ -60,7 +60,7 @@ public:
else
return name;
}
bool doNameMapping() const
bool doNameMapping() const override
{
return true;
}