aboutsummaryrefslogtreecommitdiff
path: root/common
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 /common
parent4067bb225c7238d54b5a09ab4d3d23f60aef8a05 (diff)
Add odb::core namespace to be used in using-directives
Port all the examples and tests.
Diffstat (limited to 'common')
-rw-r--r--common/auto/driver.cxx2
-rw-r--r--common/composite/driver.cxx2
-rw-r--r--common/const/driver.cxx2
-rw-r--r--common/container/driver.cxx2
-rw-r--r--common/ctor/driver.cxx2
-rw-r--r--common/inverse/driver.cxx2
-rw-r--r--common/lazy-ptr/driver.cxx2
-rw-r--r--common/lifecycle/driver.cxx2
-rw-r--r--common/query/driver.cxx2
-rw-r--r--common/relationship/driver.cxx2
-rw-r--r--common/schema/driver.cxx2
-rw-r--r--common/template/driver.cxx2
-rw-r--r--common/threads/driver.cxx3
13 files changed, 14 insertions, 13 deletions
diff --git a/common/auto/driver.cxx b/common/auto/driver.cxx
index 4388bbf..9b863f8 100644
--- a/common/auto/driver.cxx
+++ b/common/auto/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/composite/driver.cxx b/common/composite/driver.cxx
index bf8e668..51e6a26 100644
--- a/common/composite/driver.cxx
+++ b/common/composite/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/const/driver.cxx b/common/const/driver.cxx
index b4eb80e..10e3103 100644
--- a/common/const/driver.cxx
+++ b/common/const/driver.cxx
@@ -20,7 +20,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/container/driver.cxx b/common/container/driver.cxx
index b4f5b87..0705794 100644
--- a/common/container/driver.cxx
+++ b/common/container/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/ctor/driver.cxx b/common/ctor/driver.cxx
index c8e418f..23d2af1 100644
--- a/common/ctor/driver.cxx
+++ b/common/ctor/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/inverse/driver.cxx b/common/inverse/driver.cxx
index 26ead16..1f018e7 100644
--- a/common/inverse/driver.cxx
+++ b/common/inverse/driver.cxx
@@ -20,7 +20,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/lazy-ptr/driver.cxx b/common/lazy-ptr/driver.cxx
index d03eaef..c40eb92 100644
--- a/common/lazy-ptr/driver.cxx
+++ b/common/lazy-ptr/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
auto_ptr<obj2>
create (unsigned int id)
diff --git a/common/lifecycle/driver.cxx b/common/lifecycle/driver.cxx
index ae755a2..8328700 100644
--- a/common/lifecycle/driver.cxx
+++ b/common/lifecycle/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/query/driver.cxx b/common/query/driver.cxx
index 78f0bd4..6bef996 100644
--- a/common/query/driver.cxx
+++ b/common/query/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
void
print (result<person>& r)
diff --git a/common/relationship/driver.cxx b/common/relationship/driver.cxx
index 637dfd0..cad17a0 100644
--- a/common/relationship/driver.cxx
+++ b/common/relationship/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/schema/driver.cxx b/common/schema/driver.cxx
index 344b4b6..b53464c 100644
--- a/common/schema/driver.cxx
+++ b/common/schema/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/template/driver.cxx b/common/template/driver.cxx
index 9386784..ad95809 100644
--- a/common/template/driver.cxx
+++ b/common/template/driver.cxx
@@ -19,7 +19,7 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
int
main (int argc, char* argv[])
diff --git a/common/threads/driver.cxx b/common/threads/driver.cxx
index 6c64736..212ff60 100644
--- a/common/threads/driver.cxx
+++ b/common/threads/driver.cxx
@@ -24,7 +24,8 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb;
+using namespace odb::core;
+namespace details = odb::details;
const unsigned long thread_count = 32;
const unsigned long iteration_count = 100;