Try to solve self check warning to make CI happy

This commit is contained in:
Daniel Marjamäki 2021-07-11 11:37:12 +02:00
parent d9dacc97e4
commit 9fb33e6a3c
2 changed files with 3 additions and 1 deletions

View File

@ -24,8 +24,10 @@
|| (defined(__clang__) && (defined (__cplusplus)) && (__cplusplus >= 201103L)) \ || (defined(__clang__) && (defined (__cplusplus)) && (__cplusplus >= 201103L)) \
|| defined(__CPPCHECK__) || defined(__CPPCHECK__)
# define OVERRIDE override # define OVERRIDE override
# define FINAL final
#else #else
# define OVERRIDE # define OVERRIDE
# define FINAL
#endif #endif
// C++11 noexcept // C++11 noexcept

View File

@ -476,7 +476,7 @@ namespace {
} }
} }
std::string getNewSymbolName() OVERRIDE { std::string getNewSymbolName() FINAL {
return "$" + std::to_string(++(*symbolValueIndex)); return "$" + std::to_string(++(*symbolValueIndex));
} }