summaryrefslogtreecommitdiff
path: root/odb/mysql/connection-factory.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-18 20:03:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-18 20:03:19 +0200
commit4c8de7a0e8fa65d60b4b54d525c0b5ba43ac265a (patch)
tree84de015adcdd750fe7a3cf417ac856329a623ec1 /odb/mysql/connection-factory.hxx
parent35d912d70bc7073f173f22bb5948a00b3c4be3f8 (diff)
Move shared_ptr to the details namespace
Diffstat (limited to 'odb/mysql/connection-factory.hxx')
-rw-r--r--odb/mysql/connection-factory.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/odb/mysql/connection-factory.hxx b/odb/mysql/connection-factory.hxx
index 50072b2..4d57d75 100644
--- a/odb/mysql/connection-factory.hxx
+++ b/odb/mysql/connection-factory.hxx
@@ -9,14 +9,13 @@
#include <vector>
#include <cstddef> // std::size_t
-#include <odb/shared-ptr.hxx>
-
#include <odb/mysql/version.hxx>
#include <odb/mysql/forward.hxx>
#include <odb/mysql/connection.hxx>
#include <odb/details/mutex.hxx>
#include <odb/details/condition.hxx>
+#include <odb/details/shared-ptr.hxx>
namespace odb
{
@@ -25,7 +24,7 @@ namespace odb
class connection_factory
{
public:
- virtual shared_ptr<connection>
+ virtual details::shared_ptr<connection>
connect () = 0;
public:
@@ -46,7 +45,7 @@ namespace odb
{
}
- virtual shared_ptr<connection>
+ virtual details::shared_ptr<connection>
connect ();
virtual void
@@ -88,7 +87,7 @@ namespace odb
// @@ check min_ <= max_
}
- virtual shared_ptr<connection>
+ virtual details::shared_ptr<connection>
connect ();
virtual void
@@ -121,7 +120,7 @@ namespace odb
};
friend class pooled_connection;
- typedef std::vector<shared_ptr<pooled_connection> > connections;
+ typedef std::vector<details::shared_ptr<pooled_connection> > connections;
private:
void