mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-20 21:30:59 +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;
|
return;
|
||||||
}
|
}
|
||||||
auto new_targets = evaluator(media, file_name, potential_platforms);
|
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);
|
append(TargetPlatform::Acorn, Acorn::GetTargets);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user