aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/mysql/container-statements.hxx3
-rw-r--r--odb/mysql/container-statements.txx2
2 files changed, 3 insertions, 2 deletions
diff --git a/odb/mysql/container-statements.hxx b/odb/mysql/container-statements.hxx
index 7124be7..9af2ff8 100644
--- a/odb/mysql/container-statements.hxx
+++ b/odb/mysql/container-statements.hxx
@@ -237,8 +237,9 @@ namespace odb
public:
typedef T traits;
typedef typename T::statements_type base;
+ typedef mysql::connection connection_type;
- container_statements_impl (connection&);
+ container_statements_impl (connection_type&);
private:
container_statements_impl (const container_statements_impl&);
diff --git a/odb/mysql/container-statements.txx b/odb/mysql/container-statements.txx
index a651bd4..a993d31 100644
--- a/odb/mysql/container-statements.txx
+++ b/odb/mysql/container-statements.txx
@@ -36,7 +36,7 @@ namespace odb
template <typename T>
container_statements_impl<T>::
- container_statements_impl (connection& conn)
+ container_statements_impl (connection_type& conn)
: base (conn)
{
this->cond_image_bind_ = cond_image_bind_array_;