From 658a2f07b47ed80bd3ca35edd7380493c326daa3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2011 15:16:49 +0200 Subject: Add support for persistent classes without object ids New pragma id (object). New test: common/no-id. --- odb/view-result.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'odb/view-result.hxx') diff --git a/odb/view-result.hxx b/odb/view-result.hxx index a3cebf8..3f5a043 100644 --- a/odb/view-result.hxx +++ b/odb/view-result.hxx @@ -20,11 +20,11 @@ namespace odb { template - class result_impl: public details::shared_base + class view_result_impl: public details::shared_base { public: virtual - ~result_impl (); + ~view_result_impl (); protected: friend class result; @@ -42,7 +42,7 @@ namespace odb typedef typename view_traits::pointer_type pointer_type; typedef odb::pointer_traits pointer_traits; - result_impl (database_type& db) + view_result_impl (database_type& db) : begin_ (true), end_ (false), db_ (db), current_ () { } @@ -127,7 +127,7 @@ namespace odb // typedef typename view_traits::view_type view_type; - typedef result_impl result_impl_type; + typedef view_result_impl result_impl_type; public: explicit @@ -212,7 +212,7 @@ namespace odb // T can be const T while view_type is always non-const. // typedef typename view_traits::view_type view_type; - typedef result_impl result_impl_type; + typedef view_result_impl result_impl_type; }; } -- cgit v1.1