X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FGraph.cpp;h=e15a7d48ef80194ac2cd7f2036e9b9d3202d308b;hb=a01ff241e2b9e9894fe2d8942b3b00fa380f939b;hp=72b738450f3f9b4fa3481a94541600c23324f67a;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/Graph.cpp b/src/Graph.cpp index 72b738450f..e15a7d48ef 100644 --- a/src/Graph.cpp +++ b/src/Graph.cpp @@ -15,20 +15,17 @@ #include +using namespace std; namespace lyx { -using std::vector; -using std::reverse; -using std::fill; - 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);