mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 21:04:15 +08:00
make pool::connection inherit from sqlpp::connection
This commit is contained in:
parent
325f1ad731
commit
1987614bfe
@ -27,13 +27,14 @@
|
||||
#ifndef SQLPP_POOL_CONNECTION_H
|
||||
#define SQLPP_POOL_CONNECTION_H
|
||||
|
||||
#include <sqlpp11/connection.h>
|
||||
#include <memory>
|
||||
|
||||
namespace sqlpp
|
||||
{
|
||||
template <typename Connection_config, typename Connection_validator, typename Connection,
|
||||
typename Connection_pool = connection_pool<Connection_config, Connection_validator, Connection>>
|
||||
struct pool_connection
|
||||
struct pool_connection : public sqlpp::connection
|
||||
{
|
||||
private:
|
||||
std::unique_ptr<Connection> _impl;
|
||||
|
Loading…
Reference in New Issue
Block a user