diff --git a/democlient/democlient.cpp b/democlient/democlient.cpp index e8c2fc51b..d27d68bd1 100644 --- a/democlient/democlient.cpp +++ b/democlient/democlient.cpp @@ -37,7 +37,7 @@ public: , stoptime(std::time(nullptr)+2U) , cppcheck(*this, false, nullptr) { cppcheck.settings().addEnabled("all"); - cppcheck.settings().inconclusive = true; + cppcheck.settings().certainty.enable(Certainty::inconclusive); } void run(const char code[]) {