From 0bc53d3b22cedbe9e1f773e0a350280aef805eeb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 May 2012 15:55:57 +0200 Subject: Use graph container from libcutl instead of libcult --- xsd-frontend/semantic-graph/annotation.hxx | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'xsd-frontend/semantic-graph/annotation.hxx') diff --git a/xsd-frontend/semantic-graph/annotation.hxx b/xsd-frontend/semantic-graph/annotation.hxx index 5505e45..c6e5dfc 100644 --- a/xsd-frontend/semantic-graph/annotation.hxx +++ b/xsd-frontend/semantic-graph/annotation.hxx @@ -25,13 +25,8 @@ namespace XSDFrontend return *annotation_; } - protected: - friend class Bits::Graph; - - Annotates () - : annotation_ (0) - { - } + public: + Annotates (): annotation_ (0) {} Void set_left_node (Annotation& a) @@ -40,14 +35,10 @@ namespace XSDFrontend } Void - set_right_node (Node&) - { - } + set_right_node (Node&) {} Void - set_right_node (Edge&) - { - } + set_right_node (Edge&) {} private: Annotation* annotation_; @@ -64,9 +55,7 @@ namespace XSDFrontend return documentation_; } - protected: - friend class Bits::Graph; - + public: Annotation (Path const& file, UnsignedLong line, UnsignedLong column, @@ -76,9 +65,7 @@ namespace XSDFrontend } Void - add_edge_left (Annotates&) - { - } + add_edge_left (Annotates&) {} private: WideString documentation_; -- cgit v1.1