mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-11 15:49:38 +00:00
Adjust move semantics.
This commit is contained in:
parent
9b357a9fbf
commit
268842681a
@ -342,7 +342,11 @@ TargetList Analyser::Static::GetTargets(const std::string &file_name) {
|
||||
return;
|
||||
}
|
||||
auto new_targets = evaluator(media, file_name, potential_platforms);
|
||||
std::move(new_targets.begin(), new_targets.end(), std::back_inserter(targets));
|
||||
targets.insert(
|
||||
targets.end(),
|
||||
std::make_move_iterator(new_targets.begin()),
|
||||
std::make_move_iterator(new_targets.end())
|
||||
);
|
||||
};
|
||||
|
||||
append(TargetPlatform::Acorn, Acorn::GetTargets);
|
||||
|
Loading…
Reference in New Issue
Block a user