X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FGraph.cpp;h=e15a7d48ef80194ac2cd7f2036e9b9d3202d308b;hb=d1e3d75da226311cb290fc4be3686d6deef7b967;hp=502ff72944dc3aa14791e0cfa22dd41f439ff328;hpb=3e3955c4f3ee3302d2e1aae643be37ee3b758512;p=lyx.git diff --git a/src/Graph.cpp b/src/Graph.cpp index 502ff72944..e15a7d48ef 100644 --- a/src/Graph.cpp +++ b/src/Graph.cpp @@ -15,10 +15,7 @@ #include -using std::vector; -using std::reverse; -using std::fill; - +using namespace std; namespace lyx { @@ -28,7 +25,7 @@ int Graph::bfs_init(int s, bool clear_visited) if (s < 0) return s; - Q_ = std::queue(); + Q_ = queue(); if (clear_visited) fill(visited_.begin(), visited_.end(), false);