diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-11 23:19:06 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-11 23:19:06 +0100 |
commit | ef0d1e1b03ff131ed1eab9e2b85e48946c67e0d6 (patch) | |
tree | 1cb2b0dba4f3222dfd00cae80dbffe6dc78f9663 | |
parent | DB Test tidy (diff) | |
download | slicer-ef0d1e1b03ff131ed1eab9e2b85e48946c67e0d6.tar.bz2 slicer-ef0d1e1b03ff131ed1eab9e2b85e48946c67e0d6.tar.xz slicer-ef0d1e1b03ff131ed1eab9e2b85e48946c67e0d6.zip |
C++17
Update to match tweaked TransactionScope interface
-rw-r--r-- | slicer/db/testPatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Slicer::SqlTablePatchSerializer>(bis, db, tp); auto cmd = db->select("SELECT COUNT(*) FROM builtins"); |