Skip to content

Commit 5afa95f

Browse files
MeanSquaredErrorrbock
authored andcommitted
connection_pool example: Use std::make_unique() instead of sqlpp::compat::make_unique(), since the latter has been removed in sqlpp23.
1 parent 0558d2c commit 5afa95f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/connection_pool/src/db_connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ db_connection::pq_conn& db_connection::fetch()
55
{
66
if (m_conn_ptr == nullptr)
77
{
8-
m_conn_ptr = sqlpp::compat::make_unique<pq_conn>(m_pool.get());
8+
m_conn_ptr = std::make_unique<pq_conn>(m_pool.get());
99
}
1010
return *m_conn_ptr;
1111
}

0 commit comments

Comments
 (0)