mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-20 10:56:40 +03:00
use NGHolder::foo in favour of NFAGraph::foo
This commit is contained in:
@@ -173,11 +173,11 @@ void populateInit(const NGHolder &g, const flat_set<NFAVertex> &unused,
|
||||
}
|
||||
|
||||
v_by_index->clear();
|
||||
v_by_index->resize(num_vertices(g), NFAGraph::null_vertex());
|
||||
v_by_index->resize(num_vertices(g), NGHolder::null_vertex());
|
||||
|
||||
for (auto v : vertices_range(g)) {
|
||||
u32 vert_id = g[v].index;
|
||||
assert((*v_by_index)[vert_id] == NFAGraph::null_vertex());
|
||||
assert((*v_by_index)[vert_id] == NGHolder::null_vertex());
|
||||
(*v_by_index)[vert_id] = v;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user