From db586a28c54a39ddfd2dcefab405320eca374869 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 27 Apr 2011 10:15:43 +0200 Subject: Work around VC++ bugs --- odb/sqlite/container-statements.hxx | 3 ++- odb/sqlite/container-statements.txx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'odb/sqlite') 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 container_statements_impl:: - container_statements_impl (connection& conn) + container_statements_impl (connection_type& conn) : base (conn) { this->cond_image_bind_ = cond_image_bind_array_; -- cgit v1.1