aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite
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
commitdb586a28c54a39ddfd2dcefab405320eca374869 (patch)
tree6b50ef6d4c7fc1abfba5c55077e045615fc1b8a2 /odb/sqlite
parentbe0768dbe6c46fe36b0edd0c7524be89eea00c95 (diff)
Work around VC++ bugs1.4.0
Diffstat (limited to 'odb/sqlite')
-rw-r--r--odb/sqlite/container-statements.hxx3
-rw-r--r--odb/sqlite/container-statements.txx2
2 files changed, 3 insertions, 2 deletions
diff --git a/odb/sqlite/container-statements.hxx b/odb/sqlite/container-statements.hxx
index d67388d..db59ead 100644
--- a/odb/sqlite/container-statements.hxx
+++ b/odb/sqlite/container-statements.hxx
@@ -248,8 +248,9 @@ namespace odb
public:
typedef T traits;
typedef typename T::statements_type base;
+ typedef sqlite::connection connection_type;
- container_statements_impl (connection&);
+ container_statements_impl (connection_type&);
private:
container_statements_impl (const container_statements_impl&);
diff --git a/odb/sqlite/container-statements.txx b/odb/sqlite/container-statements.txx
index bad380c..5cf3463 100644
--- a/odb/sqlite/container-statements.txx
+++ b/odb/sqlite/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_;