aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/view-result.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/view-result.hxx')
-rw-r--r--odb/mysql/view-result.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/odb/mysql/view-result.hxx b/odb/mysql/view-result.hxx
index f63e70b..ab59f03 100644
--- a/odb/mysql/view-result.hxx
+++ b/odb/mysql/view-result.hxx
@@ -9,11 +9,12 @@
#include <cstddef> // std::size_t
+#include <odb/view-result.hxx>
+
#include <odb/details/shared-ptr.hxx>
#include <odb/mysql/version.hxx>
#include <odb/mysql/forward.hxx> // query, view_statements
-#include <odb/mysql/result.hxx>
#include <odb/mysql/statement.hxx>
namespace odb
@@ -32,12 +33,14 @@ namespace odb
typedef typename base_type::pointer_type pointer_type;
typedef typename base_type::pointer_traits pointer_traits;
+ typedef view_statements<view_type> statements_type;
+
virtual
~view_result_impl ();
view_result_impl (const query&,
details::shared_ptr<select_statement>,
- view_statements<view_type>&);
+ statements_type&);
virtual void
load (view_type&);
@@ -59,7 +62,7 @@ namespace odb
private:
details::shared_ptr<select_statement> statement_;
- view_statements<view_type>& statements_;
+ statements_type& statements_;
std::size_t count_;
};
}