summaryrefslogtreecommitdiff
path: root/slicer/db/testPatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slicer/db/testPatch.cpp')
-rw-r--r--slicer/db/testPatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/db/testPatch.cpp b/slicer/db/testPatch.cpp
index 294d218..bb32086 100644
--- a/slicer/db/testPatch.cpp
+++ b/slicer/db/testPatch.cpp
@@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE( insert_builtins )
tp.dest = "builtins";
Slicer::SerializeAny<Slicer::SqlTablePatchSerializer>(bis, db, tp);
auto cmd = db->select("SELECT COUNT(*) FROM builtins");
- auto c = Slicer::DeserializeAny<Slicer::SqlSelectDeserializer, int>(cmd);
+ auto c = Slicer::DeserializeAny<Slicer::SqlSelectDeserializer, int>(cmd.get());
BOOST_REQUIRE_EQUAL(2, c);
BOOST_REQUIRE_EQUAL(2, tp.pk.size());
DB::PrimaryKey pk = {"mint", "mlong"};