From d5a8a14abbbdb41c753502ea25e2c327ada106f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Nov 2012 11:32:43 +0200 Subject: 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::::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::::core just like for odb::core. --- odb/lazy-ptr.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/lazy-ptr.hxx') 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 // std::auto_ptr, std::shared_ptr/weak_ptr #include // std::move -#include // odb::database +#include // odb::core, odb::database #include #include #include // ODB_CXX11 @@ -627,7 +627,7 @@ namespace odb #endif // ODB_CXX11 - namespace core + namespace common { using odb::lazy_ptr; using odb::lazy_auto_ptr; -- cgit v1.1