diff options
Diffstat (limited to 'inverse')
-rw-r--r-- | inverse/database.hxx | 6 | ||||
-rw-r--r-- | inverse/driver.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/inverse/database.hxx b/inverse/database.hxx index 964381b..4748faf 100644 --- a/inverse/database.hxx +++ b/inverse/database.hxx @@ -24,7 +24,7 @@ inline std::auto_ptr<odb::database> create_database (int& argc, char* argv[]) { using namespace std; - using namespace odb; + using namespace odb::core; if (argc > 1 && argv[1] == string ("--help")) { @@ -32,14 +32,14 @@ create_database (int& argc, char* argv[]) << "Options:" << endl; #if defined(DATABASE_MYSQL) - mysql::database::print_usage (cerr); + odb::mysql::database::print_usage (cerr); #endif exit (0); } #if defined(DATABASE_MYSQL) - return auto_ptr<database> (new mysql::database (argc, argv)); + return auto_ptr<database> (new odb::mysql::database (argc, argv)); #endif } diff --git a/inverse/driver.cxx b/inverse/driver.cxx index 8b2538f..4aa6bd6 100644 --- a/inverse/driver.cxx +++ b/inverse/driver.cxx @@ -15,7 +15,7 @@ #include "employee-odb.hxx" using namespace std; -using namespace odb; +using namespace odb::core; void print (const employee& e) |