Skip to content

Commit

Permalink
Fix compile issue for VS2015.3 (rbock#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbock committed Oct 21, 2023
1 parent 96fb4d7 commit 9e19911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/sqlpp11/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace sqlpp
}

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))
{
}

Expand Down Expand Up @@ -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<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)
: 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)
{
}

Expand Down

0 comments on commit 9e19911

Please sign in to comment.