aboutsummaryrefslogtreecommitdiff
path: root/odb/generator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-10 11:23:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 15:40:00 +0200
commitecf31f6252c7c02935a6ce174d6700beb3f0b7fa (patch)
tree502a9f16c68f95fe6fab9bd097322e294a47e57e /odb/generator.cxx
parentc31fc72be48b037fff1cc2b46a812d20d4b601c4 (diff)
Move type processor to relational/
Diffstat (limited to 'odb/generator.cxx')
-rw-r--r--odb/generator.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx
index e0187d6..eaad179 100644
--- a/odb/generator.cxx
+++ b/odb/generator.cxx
@@ -18,8 +18,6 @@
#include <odb/context.hxx>
#include <odb/generator.hxx>
-#include <odb/type-processor.hxx>
-
#include <odb/include.hxx>
#include <odb/header.hxx>
#include <odb/inline.hxx>
@@ -29,6 +27,7 @@
#include <odb/tracer/source.hxx>
#include <odb/relational/generate.hxx>
+#include <odb/relational/type-processor.hxx>
#include <odb/relational/mysql/context.hxx>
@@ -122,14 +121,12 @@ generate (options const& ops, semantics::unit& unit, path const& p)
}
case database::tracer:
{
- // Do not assign database types for tracer.
- //
break;
}
}
if (ctx.get () != 0)
- process_types (*ctx);
+ relational::process_types ();
}
// Output files.