From 973221821ac8e20da4eadbf4ad552f686b1ace48 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Jun 2012 15:07:35 +0200 Subject: Get rid of dependency on libcult --- xsde/elements.hxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'xsde/elements.hxx') diff --git a/xsde/elements.hxx b/xsde/elements.hxx index 7684484..f37c6f6 100644 --- a/xsde/elements.hxx +++ b/xsde/elements.hxx @@ -6,18 +6,14 @@ #ifndef ELEMENTS_HXX #define ELEMENTS_HXX -#include - #include #include -using namespace Cult; -typedef WideString String; +#include namespace SemanticGraph = XSDFrontend::SemanticGraph; namespace Traversal = XSDFrontend::Traversal; - // Anonymous feedback via belongs edge. // struct AnonymousBase: Traversal::Element, Traversal::Attribute @@ -63,7 +59,7 @@ public: public: - virtual Void + virtual void traverse (SemanticGraph::Element& e) { SemanticGraph::Type& t (e.type ()); @@ -82,7 +78,7 @@ public: } } - virtual Void + virtual void traverse (SemanticGraph::Attribute& a) { SemanticGraph::Type& t (a.type ()); @@ -109,7 +105,7 @@ private: { } - virtual Void + virtual void traverse (SemanticGraph::Complex& c) { if (d1_) -- cgit v1.1