aboutsummaryrefslogtreecommitdiff
path: root/odb/result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:43 +0200
commitd5a8a14abbbdb41c753502ea25e2c327ada106f3 (patch)
tree056cc6170f61cf4a4b535f5cc975d872db8601f2 /odb/result.hxx
parentd5e7059d8741c3a402d76b14209531474421ffac (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/result.hxx')
-rw-r--r--odb/result.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/result.hxx b/odb/result.hxx
index 5db08cd..d90ceb0 100644
--- a/odb/result.hxx
+++ b/odb/result.hxx
@@ -9,7 +9,7 @@
#include <cstddef> // std::ptrdiff_t, std::size_t
-#include <odb/forward.hxx>
+#include <odb/forward.hxx> // odb::core
#include <odb/traits.hxx>
#include <odb/details/export.hxx>
@@ -215,7 +215,7 @@ namespace odb
details::shared_ptr<result_impl_type> impl_;
};
- namespace core
+ namespace common
{
using odb::result;
using odb::result_iterator;