Fix missingOverride warnings in democlient
This commit is contained in:
parent
ade18d978a
commit
58c007b726
|
@ -44,8 +44,8 @@ public:
|
|||
cppcheck.check("test.cpp", code);
|
||||
}
|
||||
|
||||
void reportOut(const std::string &outmsg) { }
|
||||
void reportErr(const ErrorLogger::ErrorMessage &msg) {
|
||||
void reportOut(const std::string &outmsg) override { }
|
||||
void reportErr(const ErrorLogger::ErrorMessage &msg) override {
|
||||
const std::string s = msg.toString(true);
|
||||
|
||||
std::cout << s << std::endl;
|
||||
|
@ -56,7 +56,7 @@ public:
|
|||
|
||||
void reportProgress(const std::string& filename,
|
||||
const char stage[],
|
||||
const unsigned int value) {
|
||||
const unsigned int value) override {
|
||||
if (std::time(nullptr) >= stoptime) {
|
||||
std::cout << "Time to analyse the code exceeded 2 seconds. Terminating.\n\n";
|
||||
cppcheck.terminate();
|
||||
|
|
Loading…
Reference in New Issue