]> 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 876394da753d095c7040d67c72ac2c6dfcfe250b..2b34bf08575b16d51434df22a0cd88dc1fb87f6f 100644 (file)
@@ -8,13 +8,15 @@
  * Full author contact details are available in file CREDITS.
  */
 
+#include <config.h>
+
 #include "graph.h"
 #include "format.h"
 
 #include <algorithm>
 
-using std::queue;
 using std::vector;
+using std::reverse;
 
 
 int Graph::bfs_init(int s, bool clear_visited)
@@ -75,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);