mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-02 12:37:43 +03:00
ng_depth: rename calcDepth functions, return vec
This commit is contained in:
committed by
Matthew Barr
parent
15c8a7bd98
commit
dfe1b8a2af
@@ -198,8 +198,7 @@ static
|
||||
bool pruneOverlong(NGHolder &g, const depth &max_depth,
|
||||
const ReportManager &rm) {
|
||||
bool modified = false;
|
||||
std::vector<NFAVertexDepth> depths;
|
||||
calcDepths(g, depths);
|
||||
auto depths = calcDepths(g);
|
||||
|
||||
for (auto v : vertices_range(g)) {
|
||||
if (is_special(v, g)) {
|
||||
|
Reference in New Issue
Block a user