]> git.lyx.org Git - lyx.git/blobdiff - src/graph.C
Remove the now superseeded SConscript files, and some small missing parts to SConstruct
[lyx.git] / src / graph.C
index de07b2f2c59d07d9920e7b29cc913fe70c48fac4..2b34bf08575b16d51434df22a0cd88dc1fb87f6f 100644 (file)
@@ -8,16 +8,15 @@
  * Full author contact details are available in file CREDITS.
  */
 
-#include "config.h"
+#include <config.h>
+
 #include "graph.h"
 #include "format.h"
 
-#include <queue>
-#include <vector>
 #include <algorithm>
 
-using std::queue;
 using std::vector;
+using std::reverse;
 
 
 int Graph::bfs_init(int s, bool clear_visited)
@@ -78,8 +77,6 @@ Graph::getReachable(int from, bool only_viewable,
                int const i = Q_.front();
                Q_.pop();
                Format const & format = formats.get(i);
-               if (format.name() == "lyx")
-                       continue;
                if (!only_viewable || !format.viewer().empty() ||
                    format.isChildFormat())
                        result.push_back(i);