aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/attribute-group.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-07 09:35:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-07 09:35:54 +0200
commit900cdb2da86c6a9c523bac093aef482a1f1033e3 (patch)
treee9f169568996c40924a779cdc8f0b3f8c07813e1 /xsd-frontend/semantic-graph/attribute-group.cxx
parent25cc7b7193999f095707028c5a315bc6bc95c82a (diff)
Get rid of dependency on libfrontend-elements
Use libcutl facilities instead.
Diffstat (limited to 'xsd-frontend/semantic-graph/attribute-group.cxx')
-rw-r--r--xsd-frontend/semantic-graph/attribute-group.cxx28
1 files changed, 12 insertions, 16 deletions
diff --git a/xsd-frontend/semantic-graph/attribute-group.cxx b/xsd-frontend/semantic-graph/attribute-group.cxx
index 6a45bbd..d966cea 100644
--- a/xsd-frontend/semantic-graph/attribute-group.cxx
+++ b/xsd-frontend/semantic-graph/attribute-group.cxx
@@ -3,37 +3,33 @@
// copyright : Copyright (c) 2006-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+#include <cutl/compiler/type-info.hxx>
+
#include <xsd-frontend/semantic-graph/attribute-group.hxx>
namespace XSDFrontend
{
namespace SemanticGraph
{
- namespace RTTI = Cult::RTTI;
-
- using RTTI::Access;
- using RTTI::TypeInfo;
-
+ AttributeGroup::
+ AttributeGroup (Path const& file, UnsignedLong line, UnsignedLong column)
+ : Node (file, line, column)
+ {
+ }
namespace
{
+ using compiler::type_info;
+
struct AttributeGroupInit
{
AttributeGroupInit ()
{
- TypeInfo ti (typeid (AttributeGroup));
- ti.add_base (Access::public_, true, typeid (Scope));
- RTTI::insert (ti);
+ type_info ti (typeid (AttributeGroup));
+ ti.add_base (typeid (Scope));
+ insert (ti);
}
-
} attribute_group_init_;
}
-
- AttributeGroup::
- AttributeGroup (Path const& file, UnsignedLong line, UnsignedLong column)
- : Node (file, line, column)
- {
- }
-
}
}