mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
clang-tidy: Pass by value
This commit is contained in:
committed by
Brad King
parent
bcc9ea2b3d
commit
5a0784ddea
@@ -51,8 +51,8 @@ struct cmListFileArgument
|
||||
Bracket
|
||||
};
|
||||
cmListFileArgument() {}
|
||||
cmListFileArgument(const std::string& v, Delimiter d, long line)
|
||||
: Value(v)
|
||||
cmListFileArgument(std::string v, Delimiter d, long line)
|
||||
: Value(std::move(v))
|
||||
, Delim(d)
|
||||
, Line(line)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user