diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:48:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-19 08:39:02 +0200 |
commit | cdb791febe6c9ab2cfa36b1a07dfc71548674cf1 (patch) | |
tree | 381ebc4dcdf3fa5b8b0783921678597d45de032b /odb/relational/source.hxx | |
parent | 8e1aea264006aea12e8462d8cc0f4a607374a699 (diff) |
Move extra headers hook to the beginning
Diffstat (limited to 'odb/relational/source.hxx')
-rw-r--r-- | odb/relational/source.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx index bd94eba..44c4959 100644 --- a/odb/relational/source.hxx +++ b/odb/relational/source.hxx @@ -2494,6 +2494,8 @@ namespace relational virtual void generate () { + extra_pre (); + os << "#include <odb/cache-traits.hxx>" << endl; if (embedded_schema) @@ -2506,8 +2508,6 @@ namespace relational os << endl; - extra_pre (); - os << "#include <odb/" << db << "/traits.hxx>" << endl << "#include <odb/" << db << "/database.hxx>" << endl << "#include <odb/" << db << "/transaction.hxx>" << endl |