diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-29 11:32:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-29 11:32:43 +0200 |
commit | d5a8a14abbbdb41c753502ea25e2c327ada106f3 (patch) | |
tree | 056cc6170f61cf4a4b535f5cc975d872db8601f2 /odb/lazy-ptr.hxx | |
parent | d5e7059d8741c3a402d76b14209531474421ffac (diff) |
Namespace management for static multi-database support
Now in libodb the odb::core namespace is split into odb::common (database-
independent stuff) and odb::core proper, which imports odb::common. Each
database runtime now defines odb::<db>::core namespace which also imports
odb::common and adds the database-specific bits. The overall idea is that
one can do using namespace odb::<db>::core just like for odb::core.
Diffstat (limited to 'odb/lazy-ptr.hxx')
-rw-r--r-- | odb/lazy-ptr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/lazy-ptr.hxx b/odb/lazy-ptr.hxx index 8df47b9..3de8dab 100644 --- a/odb/lazy-ptr.hxx +++ b/odb/lazy-ptr.hxx @@ -10,7 +10,7 @@ #include <memory> // std::auto_ptr, std::shared_ptr/weak_ptr #include <utility> // std::move -#include <odb/forward.hxx> // odb::database +#include <odb/forward.hxx> // odb::core, odb::database #include <odb/traits.hxx> #include <odb/lazy-ptr-impl.hxx> #include <odb/details/config.hxx> // ODB_CXX11 @@ -627,7 +627,7 @@ namespace odb #endif // ODB_CXX11 - namespace core + namespace common { using odb::lazy_ptr; using odb::lazy_auto_ptr; |