democlient: fix compile errors

This commit is contained in:
Daniel Marjamäki 2020-06-14 14:01:41 +02:00
parent 1fae8735b6
commit f44192e94b
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public:
CppcheckExecutor()
: ErrorLogger()
, stoptime(std::time(nullptr)+2U)
, cppcheck(*this, false) {
, cppcheck(*this, false, nullptr) {
cppcheck.settings().addEnabled("all");
cppcheck.settings().inconclusive = true;
}
@ -44,6 +44,8 @@ public:
cppcheck.check("test.cpp", code);
}
void bughuntingReport(const std::string&) override {}
void reportOut(const std::string &outmsg) override { }
void reportErr(const ErrorMessage &msg) override {
const std::string s = msg.toString(true);