mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-17 16:00:26 +03:00
allow edge_descriptors to be created from pair<edge_descriptor, bool>
This commit is contained in:
@@ -454,11 +454,9 @@ bool isNoRunsVertex(const RoseBuildImpl &build, RoseVertex u) {
|
||||
return false;
|
||||
}
|
||||
|
||||
RoseEdge e;
|
||||
bool exists;
|
||||
tie(e, exists) = edge(build.root, u, g);
|
||||
RoseEdge e = edge(build.root, u, g);
|
||||
|
||||
if (!exists) {
|
||||
if (!e) {
|
||||
DEBUG_PRINTF("u=%zu is not a root role\n", g[u].index);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user