From fc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 13 Dec 2023 21:57:53 +0300 Subject: Switch to build2 --- common/session/custom/driver.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'common/session/custom/driver.cxx') diff --git a/common/session/custom/driver.cxx b/common/session/custom/driver.cxx index 851443e..3056fd6 100644 --- a/common/session/custom/driver.cxx +++ b/common/session/custom/driver.cxx @@ -6,7 +6,6 @@ #include #include // std::size_t -#include #include #include @@ -15,13 +14,16 @@ #include #include // ODB_CXX11_* -#include +#include #include "session.hxx" #include "test.hxx" #include "test-odb.hxx" +#undef NDEBUG +#include + using namespace std; using odb::database; @@ -43,7 +45,7 @@ main (int argc, char* argv[]) { try { - auto_ptr db (create_database (argc, argv)); + unique_ptr db (create_database (argc, argv)); // Simple Tech Ltd. // -- cgit v1.1