diff --git a/include/sqlpp11/connection_pool.h b/include/sqlpp11/connection_pool.h index 805d6246..11eaf0c7 100644 --- a/include/sqlpp11/connection_pool.h +++ b/include/sqlpp11/connection_pool.h @@ -215,6 +215,12 @@ namespace sqlpp { query_task(*this, query, callback)(); } + + template + void operator()(Query query) + { + operator()(query, [](){}); + } }; templateprepare(t); } - Connection* operator->() - { - return &_impl; - } - pool_connection(const pool_connection&) = delete; pool_connection(pool_connection&& other) : _impl(std::move(other._impl)), origin(other.origin) {}