X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FGraph.h;h=50d8bf855da73919e7ac67a5f3bdfc77f6ad2ee3;hb=10be0c43f20a27a1e6af82241ad5ec6b5cad3eca;hp=20a93dee1fca1dbe08b20360e4edacc63f5dc273;hpb=bfd5abac4c24a309cfdd331f6cd6755f9ab529ac;p=lyx.git diff --git a/src/Graph.h b/src/Graph.h index 20a93dee1f..50d8bf855d 100644 --- a/src/Graph.h +++ b/src/Graph.h @@ -16,6 +16,7 @@ #include #include +#include #include @@ -33,7 +34,7 @@ public: EdgePath const getReachableTo(int to, bool clear_visited); /// \return a vector of the reachable vertices, avoiding all "excludes" EdgePath const getReachable(int from, bool only_viewable, - bool clear_visited, std::vector excludes); + bool clear_visited, std::set excludes = std::set()); /// can "from" be reached from "to"? bool isReachable(int from, int to); /// find a path from "from" to "to". always returns one of the