mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-02 03:00:38 -06:00
Make connection pool useable
This commit is contained in:
@@ -183,7 +183,7 @@ namespace sqlpp
|
||||
|
||||
try
|
||||
{
|
||||
auto c = std::unique_ptr<Connection>(new Connection(*(config.get())));
|
||||
auto c = std::unique_ptr<Connection>(new Connection(config));
|
||||
return pool_connection<Connection_config, Reconnect_policy, Connection>(c, this);
|
||||
}
|
||||
catch (const sqlpp::exception& e)
|
||||
|
||||
Reference in New Issue
Block a user