]> git.lyx.org Git - lyx.git/blobdiff - src/Graph.h
Account for old versions of Pygments
[lyx.git] / src / Graph.h
index 20a93dee1fca1dbe08b20360e4edacc63f5dc273..50d8bf855da73919e7ac67a5f3bdfc77f6ad2ee3 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <list>
 #include <queue>
+#include <set>
 #include <vector>
 
 
@@ -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<int> excludes);
+               bool clear_visited, std::set<int> excludes = std::set<int>());
        /// can "from" be reached from "to"?
        bool isReachable(int from, int to);
        /// find a path from "from" to "to". always returns one of the