X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraph.h;h=718da2b694d05e7426cf81d084427e7ecf72f6b6;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=49f1a4dbb3c54cc1719e1534248c4bed7caa815b;hpb=0705dae8a3a2bcdd6be55eb468547c1389e84d2c;p=lyx.git diff --git a/src/graph.h b/src/graph.h index 49f1a4dbb3..718da2b694 100644 --- a/src/graph.h +++ b/src/graph.h @@ -16,6 +16,9 @@ #include +namespace lyx { + + class Graph { public: Graph() : numedges_(0) {}; @@ -42,7 +45,8 @@ private: int bfs_init(int, bool clear_visited = true); /// - struct Vertex { + class Vertex { + public: std::vector in_vertices; std::vector out_vertices; std::vector out_edges; @@ -60,4 +64,7 @@ private: }; + +} // namespace lyx + #endif //GRAPH_H