aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/connection-factory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/connection-factory.cxx')
-rw-r--r--odb/sqlite/connection-factory.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/sqlite/connection-factory.cxx b/odb/sqlite/connection-factory.cxx
index fc9fefc..71f8b3e 100644
--- a/odb/sqlite/connection-factory.cxx
+++ b/odb/sqlite/connection-factory.cxx
@@ -38,12 +38,12 @@ namespace odb
lock l (mutex_);
}
- shared_ptr<connection> single_connection_factory::
+ connection_ptr single_connection_factory::
connect ()
{
mutex_.lock ();
connection_->factory_ = this;
- shared_ptr<connection> r (connection_);
+ connection_ptr r (connection_);
connection_.reset ();
return r;
}
@@ -90,10 +90,10 @@ namespace odb
// new_connection_factory
//
- shared_ptr<connection> new_connection_factory::
+ connection_ptr new_connection_factory::
connect ()
{
- return shared_ptr<connection> (
+ return connection_ptr (
new (shared) connection (*db_, extra_flags_));
}
@@ -126,7 +126,7 @@ namespace odb
}
}
- shared_ptr<connection> connection_pool_factory::
+ connection_ptr connection_pool_factory::
connect ()
{
lock l (mutex_);