summaryrefslogtreecommitdiff
path: root/libxsd-frontend/xsd-frontend/traversal/elements.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd-frontend/xsd-frontend/traversal/elements.cxx')
-rw-r--r--libxsd-frontend/xsd-frontend/traversal/elements.cxx27
1 files changed, 13 insertions, 14 deletions
diff --git a/libxsd-frontend/xsd-frontend/traversal/elements.cxx b/libxsd-frontend/xsd-frontend/traversal/elements.cxx
index b1c47a0..e64e3b9 100644
--- a/libxsd-frontend/xsd-frontend/traversal/elements.cxx
+++ b/libxsd-frontend/xsd-frontend/traversal/elements.cxx
@@ -1,6 +1,5 @@
// file : xsd-frontend/traversal/elements.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
-// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#include <xsd-frontend/traversal/elements.hxx>
@@ -11,7 +10,7 @@ namespace XSDFrontend
{
// Instance
//
- Void Instance::
+ void Instance::
traverse (Type& a)
{
pre (a);
@@ -19,24 +18,24 @@ namespace XSDFrontend
post (a);
}
- Void Instance::
+ void Instance::
pre (Type&)
{
}
- Void Instance::
- belongs (Type& a, EdgeDispatcherBase& d)
+ void Instance::
+ belongs (Type& a, EdgeDispatcher& d)
{
d.dispatch (a.belongs ());
}
- Void Instance::
+ void Instance::
belongs (Type& a)
{
belongs (a, edge_traverser ());
}
- Void Instance::
+ void Instance::
post (Type&)
{
}
@@ -44,7 +43,7 @@ namespace XSDFrontend
// Member
//
- Void Member::
+ void Member::
traverse (Type& a)
{
pre (a);
@@ -52,24 +51,24 @@ namespace XSDFrontend
post (a);
}
- Void Member::
+ void Member::
pre (Type&)
{
}
- Void Member::
- belongs (Type& a, EdgeDispatcherBase& d)
+ void Member::
+ belongs (Type& a, EdgeDispatcher& d)
{
d.dispatch (a.belongs ());
}
- Void Member::
+ void Member::
belongs (Type& a)
{
belongs (a, edge_traverser ());
}
- Void Member::
+ void Member::
post (Type&)
{
}