From a28444da4ca6adb016f719e032174ccb54e1692e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Sep 2011 13:00:33 +0200 Subject: Rework const object handling Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. --- odb/view-result.txx | 2 -- 1 file changed, 2 deletions(-) (limited to 'odb/view-result.txx') 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); -- cgit v1.1