diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-10 12:07:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-21 15:40:00 +0200 |
commit | fa1fa57d5fe1cb901520f03e7f802a156aae1034 (patch) | |
tree | b97d57e4a1262add1ff57f76bdbbf9b4b1495e0f /odb/generator.cxx | |
parent | b0f28bd39db1732db794c6ba1f02d244bce0641c (diff) |
Move the rest of generators to new ctor-less context
Diffstat (limited to 'odb/generator.cxx')
-rw-r--r-- | odb/generator.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx index 097a5a5..a6431ed 100644 --- a/odb/generator.cxx +++ b/odb/generator.cxx @@ -18,12 +18,8 @@ #include <odb/context.hxx> #include <odb/generator.hxx> -#include <odb/include.hxx> -#include <odb/header.hxx> -#include <odb/inline.hxx> - +#include <odb/generate.hxx> #include <odb/tracer/generate.hxx> - #include <odb/relational/generate.hxx> #include <odb/relational/type-processor.hxx> @@ -283,8 +279,8 @@ generate (options const& ops, semantics::unit& unit, path const& p) (br ? '>' : '"') << endl << endl; - generate_include (*ctx); - generate_header (*ctx); + include::generate (); + header::generate (); switch (ops.database ()) { @@ -348,7 +344,7 @@ generate (options const& ops, semantics::unit& unit, path const& p) << "// End prologue." << endl << endl; - generate_inline (*ctx); + inline_::generate (); switch (ops.database ()) { |