aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-27 10:15:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-27 10:15:43 +0200
commit47584aa7e59d5bd273970551a26c4b8f8c1cba3d (patch)
treea48713568f16a6f2f38e6d6c14b8dbb209551fb8
parente0d07149d7f7b748888a78bfc8c2a2bf6e92b546 (diff)
Work around VC++ bugs1.4.0
-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_;