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.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/mysql/view-result.hxx b/odb/mysql/view-result.hxx
index ab59f03..14a6002 100644
--- a/odb/mysql/view-result.hxx
+++ b/odb/mysql/view-result.hxx
@@ -14,7 +14,7 @@
#include <odb/details/shared-ptr.hxx>
#include <odb/mysql/version.hxx>
-#include <odb/mysql/forward.hxx> // query, view_statements
+#include <odb/mysql/forward.hxx> // query_base, view_statements
#include <odb/mysql/statement.hxx>
namespace odb
@@ -28,9 +28,9 @@ namespace odb
typedef odb::view_result_impl<T> base_type;
typedef typename base_type::view_type view_type;
- typedef typename base_type::view_traits view_traits;
-
typedef typename base_type::pointer_type pointer_type;
+
+ typedef view_traits_impl<view_type, id_mysql> view_traits;
typedef typename base_type::pointer_traits pointer_traits;
typedef view_statements<view_type> statements_type;
@@ -38,7 +38,7 @@ namespace odb
virtual
~view_result_impl ();
- view_result_impl (const query&,
+ view_result_impl (const query_base&,
details::shared_ptr<select_statement>,
statements_type&);