Skip to content

Commit f714f38

Browse files
committed
reduce: fix cppcheck style remark about CppcheckExecutor not being explicit.
[tools/reduce.cpp:47]: (style) Class 'CppcheckExecutor' has a constructor with 1 argument that is not explicit.
1 parent 1f5265c commit f714f38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/reduce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CppcheckExecutor : public ErrorLogger {
4444
std::time_t stopTime;
4545

4646
public:
47-
CppcheckExecutor(const ReduceSettings & settings)
47+
explicit CppcheckExecutor(const ReduceSettings & settings)
4848
: ErrorLogger()
4949
, cppcheck(*this,false)
5050
, foundLine(false)

0 commit comments

Comments
 (0)