diff options
Diffstat (limited to 'composite')
-rw-r--r-- | composite/database.hxx | 6 | ||||
-rw-r--r-- | composite/driver.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/composite/database.hxx b/composite/database.hxx index c21c9fc..58f7ac0 100644 --- a/composite/database.hxx +++ b/composite/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/composite/driver.cxx b/composite/driver.cxx index f8feb2f..9c50d45 100644 --- a/composite/driver.cxx +++ b/composite/driver.cxx @@ -14,7 +14,7 @@ #include "person-odb.hxx" using namespace std; -using namespace odb; +using namespace odb::core; int main (int argc, char* argv[]) |