mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
stl'ed one more instance
This commit is contained in:
parent
3b01effaf7
commit
84dd8de656
@ -280,10 +280,8 @@ void findDerivedSquashers(const NGHolder &g, const vector<NFAVertex> &vByIndex,
|
||||
const unordered_map<NFAVertex, u32> ®ion_map,
|
||||
smgb_cache &cache) {
|
||||
deque<NFAVertex> remaining;
|
||||
for (const auto &m : *squash) {
|
||||
// cppcheck-suppress useStlAlgorithm
|
||||
remaining.emplace_back(m.first);
|
||||
}
|
||||
auto mfirst = [](const pair<NFAVertex, NFAStateSet> &m) { return m.first; };
|
||||
std::transform(squash->begin(), squash->end(), std::back_inserter(remaining), mfirst);
|
||||
|
||||
while (!remaining.empty()) {
|
||||
NFAVertex v = remaining.back();
|
||||
|
Loading…
x
Reference in New Issue
Block a user