X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraph.h;h=718da2b694d05e7426cf81d084427e7ecf72f6b6;hb=969ab85d985485f503790cb13f98a582d4e1cdb5;hp=9956aa47cfae74ba8b66bfacb5e75a12d9e930f2;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/graph.h b/src/graph.h index 9956aa47cf..718da2b694 100644 --- a/src/graph.h +++ b/src/graph.h @@ -12,11 +12,13 @@ #ifndef GRAPH_H #define GRAPH_H -#include "LString.h" - #include #include + +namespace lyx { + + class Graph { public: Graph() : numedges_(0) {}; @@ -43,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; @@ -61,4 +64,7 @@ private: }; + +} // namespace lyx + #endif //GRAPH_H