aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/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
commitec29cd0d06600f96cf6f395619f93b02a2a7e11c (patch)
tree49b0a997c3b8539c98779120651d0f423744834a /odb/pgsql/view-result.hxx
parent50c3d45167cf1a753fea6d662741febf38788b09 (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/pgsql/view-result.hxx')
-rw-r--r--odb/pgsql/view-result.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/pgsql/view-result.hxx b/odb/pgsql/view-result.hxx
index 629778b..115c128 100644
--- a/odb/pgsql/view-result.hxx
+++ b/odb/pgsql/view-result.hxx
@@ -28,12 +28,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 ();