aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/view-result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-21 13:00:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-21 13:00:33 +0200
commit0636a81f69423763f48d2576a143e0ba361bcabc (patch)
treebdfe80da91cc565f3914f0d2228e93f4266a7e1b /odb/mysql/view-result.hxx
parent4ae3d5608653ae06c1ea72766b9448e5f4f15e6e (diff)
Rework const object handling
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const.
Diffstat (limited to 'odb/mysql/view-result.hxx')
-rw-r--r--odb/mysql/view-result.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/mysql/view-result.hxx b/odb/mysql/view-result.hxx
index 23f0541..8acb97d 100644
--- a/odb/mysql/view-result.hxx
+++ b/odb/mysql/view-result.hxx
@@ -27,12 +27,11 @@ namespace odb
public:
typedef odb::result_impl<T, class_view> base_type;
- typedef typename base_type::pointer_type pointer_type;
- typedef typename base_type::pointer_traits pointer_traits;
-
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 typename base_type::pointer_traits pointer_traits;
virtual
~result_impl ();