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/transaction/callback/driver.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'common/transaction/callback/driver.cxx') diff --git a/common/transaction/callback/driver.cxx b/common/transaction/callback/driver.cxx index 90564a4..d0af993 100644 --- a/common/transaction/callback/driver.cxx +++ b/common/transaction/callback/driver.cxx @@ -4,14 +4,17 @@ // Test transaction callbacks. // -#include // std::size_t -#include +#include // std::unique_ptr +#include // std::size_t #include #include #include -#include +#include + +#undef NDEBUG +#include using namespace std; using namespace odb::core; @@ -104,7 +107,7 @@ main (int argc, char* argv[]) { try { - auto_ptr db (create_database (argc, argv, false)); + unique_ptr db (create_database (argc, argv, false)); // We want to test both stack and dynamic slots. // -- cgit v1.1