From 9e19911ada40a994f5f1b8abb84a6344fb72f1a6 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Sat, 21 Oct 2023 09:20:07 +0200 Subject: [PATCH] Fix compile issue for VS2015.3 (#536) --- include/sqlpp11/connection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { }