0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Fix compile issue for VS2015.3 (#536)

This commit is contained in:
Roland Bock 2023-10-21 09:20:07 +02:00
parent 96fb4d7894
commit 9e19911ada

View File

@ -72,7 +72,7 @@ namespace sqlpp
} }
normal_connection(const _config_ptr_t& config) normal_connection(const _config_ptr_t& config)
: common_connection<ConnectionBase>{compat::make_unique<_handle_t>(config)} : common_connection<ConnectionBase>(compat::make_unique<_handle_t>(config))
{ {
} }
@ -137,12 +137,12 @@ namespace sqlpp
// Constructors used by the connection pool // Constructors used by the connection pool
pooled_connection(_handle_ptr_t&& handle, _pool_core_ptr_t pool_core) pooled_connection(_handle_ptr_t&& handle, _pool_core_ptr_t pool_core)
: common_connection<ConnectionBase>{std::move(handle)}, _pool_core{pool_core} : common_connection<ConnectionBase>(std::move(handle)), _pool_core(pool_core)
{ {
} }
pooled_connection(const _config_ptr_t& config, _pool_core_ptr_t pool_core) pooled_connection(const _config_ptr_t& config, _pool_core_ptr_t pool_core)
: common_connection<ConnectionBase>{compat::make_unique<_handle_t>(config)}, _pool_core{pool_core} : common_connection<ConnectionBase>(compat::make_unique<_handle_t>(config)), _pool_core(pool_core)
{ {
} }