aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/object-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
commita21f161ebbec15125fd6bc8a006a7beeea77d032 (patch)
tree0384fd3f995c5a5796f33b5232903cda223dfe54 /odb/sqlite/object-result.hxx
parentd202c0af423f0e1e783ed0ce639076346a19a1df (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/sqlite/object-result.hxx')
-rw-r--r--odb/sqlite/object-result.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/sqlite/object-result.hxx b/odb/sqlite/object-result.hxx
index b3dbf2b..401c83a 100644
--- a/odb/sqlite/object-result.hxx
+++ b/odb/sqlite/object-result.hxx
@@ -29,12 +29,12 @@ namespace odb
public:
typedef odb::result_impl<T, class_object> base_type;
- typedef typename base_type::pointer_type pointer_type;
- typedef typename base_type::pointer_traits pointer_traits;
-
+ typedef typename base_type::object_traits object_traits;
typedef typename base_type::object_type object_type;
typedef typename base_type::id_type id_type;
- typedef typename base_type::object_traits object_traits;
+
+ typedef typename base_type::pointer_type pointer_type;
+ typedef typename base_type::pointer_traits pointer_traits;
virtual
~result_impl ();