aboutsummaryrefslogtreecommitdiff
path: root/mysql/template
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/template')
-rw-r--r--mysql/template/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql/template/driver.cxx b/mysql/template/driver.cxx
index 636af43..0789891 100644
--- a/mysql/template/driver.cxx
+++ b/mysql/template/driver.cxx
@@ -18,14 +18,15 @@
#include "test-odb.hxx"
using namespace std;
-using namespace odb::core;
+namespace mysql = odb::mysql;
+using namespace mysql;
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));
//
//