From ef0d1e1b03ff131ed1eab9e2b85e48946c67e0d6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 11 Apr 2018 23:19:06 +0100 Subject: C++17 Update to match tweaked TransactionScope interface --- slicer/db/testPatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slicer/db/testPatch.cpp b/slicer/db/testPatch.cpp index e9dda4d..294d218 100644 --- a/slicer/db/testPatch.cpp +++ b/slicer/db/testPatch.cpp @@ -27,7 +27,7 @@ BOOST_AUTO_TEST_CASE( insert_builtins ) TestModule::BuiltInsPtr(new TestModule::BuiltIns(true, 6, 18, 0, 130, 3.4, 5.6, "even more text")) }; DB::TablePatch tp; - DB::TransactionScope tx(db); + DB::TransactionScope tx(*db); tp.dest = "builtins"; Slicer::SerializeAny(bis, db, tp); auto cmd = db->select("SELECT COUNT(*) FROM builtins"); -- cgit v1.2.3