mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 02:30:35 +03:00
replace push_back by emplace_back where possible
This commit is contained in:
@@ -178,7 +178,7 @@ void findSeeds(const NGHolder &h, const bool som, vector<NFAVertex> *seeds) {
|
||||
}
|
||||
|
||||
DEBUG_PRINTF("%zu is a seed\n", h[v].index);
|
||||
seeds->push_back(v);
|
||||
seeds->emplace_back(v);
|
||||
already_seeds.insert(v);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user