aboutsummaryrefslogtreecommitdiff
path: root/tracer
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
commit4a250a49537bf223b3665c0f5a017944531b3dfe (patch)
tree032830fddd78c35f4501cdb3e98f28af544f9be0 /tracer
parent4067bb225c7238d54b5a09ab4d3d23f60aef8a05 (diff)
Add odb::core namespace to be used in using-directives
Port all the examples and tests.
Diffstat (limited to 'tracer')
-rw-r--r--tracer/include/driver.cxx2
-rw-r--r--tracer/object/driver.cxx4
-rw-r--r--tracer/pragma/driver.cxx2
-rw-r--r--tracer/template/driver.cxx4
-rw-r--r--tracer/transaction/driver.cxx3
-rw-r--r--tracer/types/driver.cxx2
6 files changed, 9 insertions, 8 deletions
diff --git a/tracer/include/driver.cxx b/tracer/include/driver.cxx
index 70cdd99..f2f9382 100644
--- a/tracer/include/driver.cxx
+++ b/tracer/include/driver.cxx
@@ -33,7 +33,7 @@
#include "test4-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main ()
diff --git a/tracer/object/driver.cxx b/tracer/object/driver.cxx
index 9c8d465..4ea6329 100644
--- a/tracer/object/driver.cxx
+++ b/tracer/object/driver.cxx
@@ -18,12 +18,12 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main ()
{
- tracer::database db;
+ odb::tracer::database db;
// database operation out of transaction
//
diff --git a/tracer/pragma/driver.cxx b/tracer/pragma/driver.cxx
index c463230..2f89ad5 100644
--- a/tracer/pragma/driver.cxx
+++ b/tracer/pragma/driver.cxx
@@ -18,7 +18,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main ()
diff --git a/tracer/template/driver.cxx b/tracer/template/driver.cxx
index 616f966..e63fae6 100644
--- a/tracer/template/driver.cxx
+++ b/tracer/template/driver.cxx
@@ -18,12 +18,12 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main ()
{
- tracer::database db;
+ odb::tracer::database db;
//
//
diff --git a/tracer/transaction/driver.cxx b/tracer/transaction/driver.cxx
index fcec91c..f6945d4 100644
--- a/tracer/transaction/driver.cxx
+++ b/tracer/transaction/driver.cxx
@@ -15,7 +15,8 @@
#include <odb/tracer/transaction.hxx>
using namespace std;
-using namespace odb;
+using namespace odb::core;
+namespace tracer = odb::tracer;
int
main ()
diff --git a/tracer/types/driver.cxx b/tracer/types/driver.cxx
index 6847878..9c1b97d 100644
--- a/tracer/types/driver.cxx
+++ b/tracer/types/driver.cxx
@@ -14,7 +14,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
template <typename T1, typename T2>
struct same_p