diff --git a/include/pqxx/transaction_base.hxx b/include/pqxx/transaction_base.hxx index 7a38e9dee..db1316c34 100644 --- a/include/pqxx/transaction_base.hxx +++ b/include/pqxx/transaction_base.hxx @@ -607,8 +607,7 @@ public: * 2. The `exec` functions are faster for small results, but slower for large * results. */ - template - void for_query(zview query, CALLABLE &&func) + template void for_query(zview query, CALLABLE &&func) { exec(query).for_each(std::forward(func)); }