aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/complex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/semantic-graph/complex.hxx')
-rw-r--r--xsd-frontend/semantic-graph/complex.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/xsd-frontend/semantic-graph/complex.hxx b/xsd-frontend/semantic-graph/complex.hxx
index 7253c46..7fd9e54 100644
--- a/xsd-frontend/semantic-graph/complex.hxx
+++ b/xsd-frontend/semantic-graph/complex.hxx
@@ -45,16 +45,9 @@ namespace XSDFrontend
mixed_ = m;
}
- protected:
- friend class Bits::Graph<Node, Edge>;
-
- Complex (); // Virtual inheritance (Enumeration).
+ public:
Complex (Path const& file, UnsignedLong line, UnsignedLong column);
- using Type::add_edge_right;
- using Type::add_edge_left;
- using Scope::add_edge_left;
-
Void
add_edge_left (ContainsCompositor& e)
{
@@ -68,6 +61,13 @@ namespace XSDFrontend
contains_compositor_ = 0;
}
+ using Type::add_edge_right;
+ using Type::add_edge_left;
+ using Scope::add_edge_left;
+
+ protected:
+ Complex (); // For virtual inheritance (Enumeration).
+
private:
Boolean mixed_;
ContainsCompositor* contains_compositor_;