diff --git a/include/sqlpp11/connection.h b/include/sqlpp11/connection.h index 13bbce36..879bf6b9 100644 --- a/include/sqlpp11/connection.h +++ b/include/sqlpp11/connection.h @@ -72,7 +72,7 @@ namespace sqlpp } normal_connection(const _config_ptr_t& config) - : common_connection{compat::make_unique<_handle_t>(config)} + : common_connection(compat::make_unique<_handle_t>(config)) { } @@ -137,12 +137,12 @@ namespace sqlpp // Constructors used by the connection pool pooled_connection(_handle_ptr_t&& handle, _pool_core_ptr_t pool_core) - : common_connection{std::move(handle)}, _pool_core{pool_core} + : common_connection(std::move(handle)), _pool_core(pool_core) { } pooled_connection(const _config_ptr_t& config, _pool_core_ptr_t pool_core) - : common_connection{compat::make_unique<_handle_t>(config)}, _pool_core{pool_core} + : common_connection(compat::make_unique<_handle_t>(config)), _pool_core(pool_core) { }