Skip to content

Commit 82bdde5

Browse files
committed
cppcheckexecutor.cpp: reverted bogus change (false positive)
1 parent fff2e49 commit 82bdde5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cppcheckexecutor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ int CppCheckExecutor::check(int argc, const char* const argv[])
194194
mStdLogger = new StdLogger(settings);
195195

196196
CppCheck cppCheck(*mStdLogger, true, executeCommand);
197-
cppCheck.settings() = std::move(settings);
197+
cppCheck.settings() = settings; // this is a copy
198198

199199
const int ret = check_wrapper(cppCheck);
200200

0 commit comments

Comments
 (0)