Use OVERRIDE macro in cli

This commit is contained in:
Daniel Marjamäki 2019-01-12 15:42:50 +01:00
parent 1cd16cf94f
commit 792419a591
2 changed files with 7 additions and 7 deletions

View File

@ -69,17 +69,17 @@ public:
* *
* @param outmsg Progress message e.g. "Checking main.cpp..." * @param outmsg Progress message e.g. "Checking main.cpp..."
*/ */
virtual void reportOut(const std::string &outmsg) override; virtual void reportOut(const std::string &outmsg) OVERRIDE;
/** xml output of errors */ /** xml output of errors */
virtual void reportErr(const ErrorLogger::ErrorMessage &msg) override; virtual void reportErr(const ErrorLogger::ErrorMessage &msg) OVERRIDE;
void reportProgress(const std::string &filename, const char stage[], const std::size_t value) override; void reportProgress(const std::string &filename, const char stage[], const std::size_t value) OVERRIDE;
/** /**
* Output information messages. * Output information messages.
*/ */
virtual void reportInfo(const ErrorLogger::ErrorMessage &msg) override; virtual void reportInfo(const ErrorLogger::ErrorMessage &msg) OVERRIDE;
/** /**
* Information about how many files have been checked * Information about how many files have been checked

View File

@ -49,9 +49,9 @@ public:
virtual ~ThreadExecutor(); virtual ~ThreadExecutor();
unsigned int check(); unsigned int check();
virtual void reportOut(const std::string &outmsg) override; virtual void reportOut(const std::string &outmsg) OVERRIDE;
virtual void reportErr(const ErrorLogger::ErrorMessage &msg) override; virtual void reportErr(const ErrorLogger::ErrorMessage &msg) OVERRIDE;
virtual void reportInfo(const ErrorLogger::ErrorMessage &msg) override; virtual void reportInfo(const ErrorLogger::ErrorMessage &msg) OVERRIDE;
/** /**
* @brief Add content to a file, to be used in unit testing. * @brief Add content to a file, to be used in unit testing.