mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
Use cmAppend to append ranges to std::vector instances
This commit is contained in:
@@ -27,8 +27,7 @@ bool cmAddTestCommand::InitialPass(std::vector<std::string> const& args,
|
||||
}
|
||||
|
||||
// Collect the command with arguments.
|
||||
std::vector<std::string> command;
|
||||
command.insert(command.end(), args.begin() + 1, args.end());
|
||||
std::vector<std::string> command(args.begin() + 1, args.end());
|
||||
|
||||
// Create the test but add a generator only the first time it is
|
||||
// seen. This preserves behavior from before test generators.
|
||||
|
||||
Reference in New Issue
Block a user