aboutsummaryrefslogtreecommitdiff
path: root/odb/exception.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/exception.hxx
parent3c7bfb25892842a1083b4d6393d5cb4aff615f2c (diff)
Add odb::core namespace to be used in using-directives
Port all the examples and tests.
Diffstat (limited to 'odb/exception.hxx')
-rw-r--r--odb/exception.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/exception.hxx b/odb/exception.hxx
index 9ffceed..b2bae3d 100644
--- a/odb/exception.hxx
+++ b/odb/exception.hxx
@@ -19,6 +19,11 @@ namespace odb
virtual const char*
what () const throw () = 0;
};
+
+ namespace core
+ {
+ using odb::exception;
+ }
}
#include <odb/post.hxx>