mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
clang-tidy: Use emplace
This commit is contained in:
committed by
Brad King
parent
2e5307a2a4
commit
ef61997b1b
@@ -164,7 +164,7 @@ bool cmForEachCommand::InitialPass(std::vector<std::string> const& args,
|
||||
break;
|
||||
}
|
||||
sprintf(buffer, "%d", cc);
|
||||
range.push_back(buffer);
|
||||
range.emplace_back(buffer);
|
||||
if (cc == stop) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user