aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/element.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-09 15:55:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-09 15:55:57 +0200
commit0bc53d3b22cedbe9e1f773e0a350280aef805eeb (patch)
tree9886f9aa18b538cf622a78786f43bf0d917a1bca /xsd-frontend/semantic-graph/element.hxx
parent900cdb2da86c6a9c523bac093aef482a1f1033e3 (diff)
Use graph container from libcutl instead of libcult
Diffstat (limited to 'xsd-frontend/semantic-graph/element.hxx')
-rw-r--r--xsd-frontend/semantic-graph/element.hxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/xsd-frontend/semantic-graph/element.hxx b/xsd-frontend/semantic-graph/element.hxx
index bc5488c..425ddce 100644
--- a/xsd-frontend/semantic-graph/element.hxx
+++ b/xsd-frontend/semantic-graph/element.hxx
@@ -30,13 +30,7 @@ namespace XSDFrontend
return *root_;
}
- protected:
- friend class Bits::Graph<Node, Edge>;
-
- Substitutes ()
- {
- }
-
+ public:
Void
set_left_node (Element& n)
{
@@ -72,9 +66,7 @@ namespace XSDFrontend
return *substitutes_;
}
- protected:
- friend class Bits::Graph<Node, Edge>;
-
+ public:
Element (Path const& file,
UnsignedLong line,
UnsignedLong column,
@@ -88,9 +80,7 @@ namespace XSDFrontend
}
Void
- add_edge_right (Substitutes&)
- {
- }
+ add_edge_right (Substitutes&) {}
using Member::add_edge_left;
using Member::add_edge_right;