From 5a0b5139a0432bbd4edc579dff62a1b1fcf8d6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 19 May 2020 22:13:46 +0200 Subject: [PATCH] Fix compile error in windows --- cli/threadexecutor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index 7469137fb..9da48b0bc 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -441,7 +441,7 @@ unsigned int __stdcall ThreadExecutor::threadProc(void *args) // guard static members of CppCheck against concurrent access EnterCriticalSection(&threadExecutor->mFileSync); - CppCheck fileChecker(*threadExecutor, false); + CppCheck fileChecker(*threadExecutor, false, CppCheckExecutor::executeCommand); fileChecker.settings() = threadExecutor->mSettings; for (;;) {