From 1c6d6e5ed99e80d057a710635325a79b8e3f73d2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Oct 2012 14:39:12 +0200 Subject: Add workaround for VC++ --- odb/no-id-object-result.hxx | 2 +- odb/polymorphic-object-result.hxx | 2 +- odb/result.hxx | 3 ++- odb/simple-object-result.hxx | 2 +- odb/view-result.hxx | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/odb/no-id-object-result.hxx b/odb/no-id-object-result.hxx index 16df125..9404d82 100644 --- a/odb/no-id-object-result.hxx +++ b/odb/no-id-object-result.hxx @@ -42,7 +42,7 @@ namespace odb friend class object_result_iterator; protected: - no_id_object_result_impl (connection& conn) + no_id_object_result_impl (odb::connection& conn) : result_impl (conn), begin_ (true), end_ (false), current_ () { } diff --git a/odb/polymorphic-object-result.hxx b/odb/polymorphic-object-result.hxx index 59592b1..b64812d 100644 --- a/odb/polymorphic-object-result.hxx +++ b/odb/polymorphic-object-result.hxx @@ -47,7 +47,7 @@ namespace odb friend class object_result_iterator; protected: - polymorphic_object_result_impl (connection& conn) + polymorphic_object_result_impl (odb::connection& conn) : result_impl (conn), begin_ (true), end_ (false), current_ () { } diff --git a/odb/result.hxx b/odb/result.hxx index 9f590d0..5db08cd 100644 --- a/odb/result.hxx +++ b/odb/result.hxx @@ -12,11 +12,12 @@ #include #include +#include #include namespace odb { - class result_impl: public details::shared_base + class LIBODB_EXPORT result_impl: public details::shared_base { public: virtual diff --git a/odb/simple-object-result.hxx b/odb/simple-object-result.hxx index b0f3a9a..e094131 100644 --- a/odb/simple-object-result.hxx +++ b/odb/simple-object-result.hxx @@ -43,7 +43,7 @@ namespace odb friend class object_result_iterator; protected: - object_result_impl (connection& conn) + object_result_impl (odb::connection& conn) : result_impl (conn), begin_ (true), end_ (false), current_ () { } diff --git a/odb/view-result.hxx b/odb/view-result.hxx index a07e5b8..289052e 100644 --- a/odb/view-result.hxx +++ b/odb/view-result.hxx @@ -37,7 +37,7 @@ namespace odb typedef typename view_traits::pointer_type pointer_type; typedef odb::pointer_traits pointer_traits; - view_result_impl (connection& conn) + view_result_impl (odb::connection& conn) : result_impl (conn), begin_ (true), end_ (false), current_ () { } -- cgit v1.1