]> git.lyx.org Git - lyx.git/blobdiff - src/graph.h
Two fixes involving RtL text drawing
[lyx.git] / src / graph.h
index 4a8477cbf965ceca7a09253f7bf13911507b945c..a856073d6fd1251e59e6f9708ab2d4c57aaa2cf2 100644 (file)
 #ifndef GRAPH_H
 #define GRAPH_H
 
-#include "support/std_string.h"
-
 #include <queue>
 #include <vector>
 
+
 class Graph {
 public:
        Graph() : numedges_(0) {};
@@ -43,7 +42,8 @@ private:
        int bfs_init(int, bool clear_visited = true);
 
        ///
-       struct Vertex {
+       class Vertex {
+       public:
                std::vector<int> in_vertices;
                std::vector<int> out_vertices;
                std::vector<int> out_edges;