aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-15 13:47:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-15 13:47:31 +0200
commit4c174428379af308926ec70bc5b58539a1863abf (patch)
tree0f2aeaa68b28e0c86925fd4ae0e2d893d020efdc /xsd-frontend/semantic-graph/elements.hxx
parent8b5538ed49925aaf9fa22e961bd632bed8458184 (diff)
Implement enum synthesis from union
A union which has enumerations with a common base as members can be transformed to an equivalent enumeration.
Diffstat (limited to 'xsd-frontend/semantic-graph/elements.hxx')
-rw-r--r--xsd-frontend/semantic-graph/elements.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xsd-frontend/semantic-graph/elements.hxx b/xsd-frontend/semantic-graph/elements.hxx
index ec425f6..f59961b 100644
--- a/xsd-frontend/semantic-graph/elements.hxx
+++ b/xsd-frontend/semantic-graph/elements.hxx
@@ -850,6 +850,8 @@ namespace XSDFrontend
}
protected:
+ friend class Bits::Graph<Node, Edge>;
+
Inherits ()
{
}