diff --git a/src/libs/sqlite/sqlitebasestatement.h b/src/libs/sqlite/sqlitebasestatement.h index 9f40be17060..3823a65b946 100644 --- a/src/libs/sqlite/sqlitebasestatement.h +++ b/src/libs/sqlite/sqlitebasestatement.h @@ -272,7 +272,7 @@ public: resetter.reset(); } - template + template void readTo(Container &container, const QueryTypes &...queryValues) { Resetter resetter{*this}; diff --git a/tests/unit/unittest/sqlitestatement-test.cpp b/tests/unit/unittest/sqlitestatement-test.cpp index ec59e1b4909..c9ffafbb0a4 100644 --- a/tests/unit/unittest/sqlitestatement-test.cpp +++ b/tests/unit/unittest/sqlitestatement-test.cpp @@ -997,7 +997,7 @@ TEST_F(SqliteStatement, ReadToContainer) std::deque values; ReadStatement<1> statement("SELECT number FROM test", database); - statement.readTo<1>(values); + statement.readTo(values); ASSERT_THAT(values, UnorderedElementsAre(Eq("blah"), Eq(23.3), Eq(40))); }