aboutsummaryrefslogtreecommitdiff
path: root/odb/query.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-18 10:42:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-18 10:42:41 +0200
commit79e1e744a2f306f9c04b0cda3058e9ed40d8421c (patch)
tree7c3f927434da74b5305fd239f0f3f94a513c6d5f /odb/query.hxx
parent3c7bfb25892842a1083b4d6393d5cb4aff615f2c (diff)
Add odb::core namespace to be used in using-directives
Port all the examples and tests.
Diffstat (limited to 'odb/query.hxx')
-rw-r--r--odb/query.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/query.hxx b/odb/query.hxx
index 5734ba5..5cdeb6f 100644
--- a/odb/query.hxx
+++ b/odb/query.hxx
@@ -15,6 +15,11 @@ namespace odb
template <typename T,
typename Q = typename object_traits<T>::query_base_type>
class query;
+
+ namespace core
+ {
+ using odb::query;
+ }
}
#include <odb/post.hxx>