aboutsummaryrefslogtreecommitdiff
path: root/odb/view-result.txx
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
commita28444da4ca6adb016f719e032174ccb54e1692e (patch)
tree75fe8ceae2d20baa3d4b5375a832598efe8b2fce /odb/view-result.txx
parent0046a34d5ad5fc1e88b33279605f179646b0ea59 (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/view-result.txx')
-rw-r--r--odb/view-result.txx2
1 files changed, 0 insertions, 2 deletions
diff --git a/odb/view-result.txx b/odb/view-result.txx
index 52d478e..95f34e0 100644
--- a/odb/view-result.txx
+++ b/odb/view-result.txx
@@ -22,8 +22,6 @@ namespace odb
{
if (pointer_traits::null_ptr (current_) && !end_)
{
- // For views, pointer_type is unrestricted_pointer_type.
- //
pointer_type p (view_traits::create ());
view_type& view (pointer_traits::get_ref (p));
current (p);