Skip to content

Commit 6a164fc

Browse files
committed
clang-tidy
1 parent 5cdced9 commit 6a164fc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/errorlogger.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ class CPPCHECKLIB ErrorLogger {
290290
/// RAII class for reporting progress messages
291291
class CPPCHECKLIB ProgressReporter {
292292
public:
293-
ProgressReporter(ErrorLogger& e, int reportProgressInterval, const std::string& filename, const std::string& stage) :
293+
ProgressReporter(ErrorLogger& e, int reportProgressInterval, std::string filename, std::string stage) :
294294
errorLogger(e),
295295
reportProgressInterval(reportProgressInterval),
296-
filename(filename),
297-
stage(stage) {
296+
filename(std::move(filename)),
297+
stage(std::move(stage)) {
298298
report(0);
299299
}
300300

0 commit comments

Comments
 (0)