summaryrefslogtreecommitdiff
path: root/xsd/elements.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/elements.hxx')
-rw-r--r--xsd/elements.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/xsd/elements.hxx b/xsd/elements.hxx
index 7f4baf8..ee425e9 100644
--- a/xsd/elements.hxx
+++ b/xsd/elements.hxx
@@ -6,18 +6,14 @@
#ifndef ELEMENTS_HXX
#define ELEMENTS_HXX
-#include <cult/types.hxx>
-
#include <xsd-frontend/semantic-graph.hxx>
#include <xsd-frontend/traversal.hxx>
-using namespace Cult;
-typedef WideString String;
+#include <types.hxx>
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_)