diff --git a/src/backend/graph.cpp b/src/backend/graph.cpp index c1f12b93..6d0c13df 100644 --- a/src/backend/graph.cpp +++ b/src/backend/graph.cpp @@ -93,8 +93,8 @@ namespace boss { boost::tie(vit, vit_end) = boost::vertices(graph); for (vit, vit_end; vit != vit_end; ++vit) { - // if (boost::iequals(graph[*vit]->Name(), name)) { - if (graph[*vit]->Name() == name) { + if (boost::iequals(graph[*vit]->Name(), name)) { + // if (graph[*vit]->Name() == name) { vertex = *vit; return true; }