aboutsummaryrefslogtreecommitdiff
path: root/sqlite/custom/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite/custom/driver.cxx')
-rw-r--r--sqlite/custom/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sqlite/custom/driver.cxx b/sqlite/custom/driver.cxx
index 9e387b0..d189767 100644
--- a/sqlite/custom/driver.cxx
+++ b/sqlite/custom/driver.cxx
@@ -18,14 +18,15 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb::core;
+namespace sqlite = odb::sqlite;
+using namespace sqlite;
int
main (int argc, char* argv[])
{
try
{
- auto_ptr<database> db (create_database (argc, argv));
+ auto_ptr<database> db (create_specific_database<database> (argc, argv));
object o (1);
o.nv.push_back ("123"); // INTEGER