Skip to content

Commit 57bf90c

Browse files
committed
testresultstree.cpp: fixed performance-unnecessary-value-param/modernize-pass-by-value/google-explicit-constructor clang-tidy warnings
1 parent b97ec89 commit 57bf90c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gui/test/resultstree/testresultstree.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@
3131
#include "path.h"
3232
#include "settings.h"
3333

34+
#include <utility>
35+
3436
#include <QtTest>
3537

3638
class TestReport : public Report {
3739
public:
38-
TestReport(QString format) : Report(QString()), format(format) {}
40+
explicit TestReport(QString format) : Report(QString()), format(std::move(format)) {}
3941
void writeHeader() override {
4042
output.clear();
4143
}

0 commit comments

Comments
 (0)