Skip to content

Commit 1e8c0ab

Browse files
committed
clangtidy
1 parent f36c7c1 commit 1e8c0ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: lib/preprocessor.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ struct CPPCHECKLIB Directive {
6262

6363
class CPPCHECKLIB RemarkComment {
6464
public:
65-
RemarkComment(const std::string &file, const unsigned int lineNumber, const std::string &str)
66-
: file(file)
65+
RemarkComment(std::string file, unsigned int lineNumber, std::string str)
66+
: file(std::move(file))
6767
, lineNumber(lineNumber)
68-
, str(str)
68+
, str(std::move(str))
6969
{}
7070

7171
/** name of file */

0 commit comments

Comments
 (0)