We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66aa14f commit d2d7e6dCopy full SHA for d2d7e6d
1 file changed
src/support/graph_traversal.h
@@ -41,7 +41,8 @@ template<typename T, typename SuccessorFunction> class Graph {
41
template<typename It, typename Sen>
42
#endif
43
Graph(It rootsBegin, Sen rootsEnd, SuccessorFunction successors)
44
- : roots(rootsBegin, rootsEnd), successors(std::move(successors)) {}
+ : roots(rootsBegin, rootsEnd), successors(std::move(successors)) {
45
+ }
46
47
// Traverse the graph depth-first, calling `successors` exactly once for each
48
// node (unless the node appears multiple times in `roots`). Return the set of
0 commit comments