democlient: fix compile errors
This commit is contained in:
parent
1fae8735b6
commit
f44192e94b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue