mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
ng_region: no need to copy enters
This commit is contained in:
parent
699ab4190a
commit
1200f33116
@ -194,7 +194,9 @@ void buildInitialCandidate(const AcyclicGraph &g,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto enters = exits.front().open; // copy
|
// Note: findExits() will clear exits, so it's safe to mutate/move its
|
||||||
|
// elements here.
|
||||||
|
auto &enters = exits.front().open;
|
||||||
candidate.clear();
|
candidate.clear();
|
||||||
|
|
||||||
for (; it != ite; ++it) {
|
for (; it != ite; ++it) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user