From f995dcc30766afe58d212131efb6478c2dbfd7b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Dec 2012 16:56:27 +0200 Subject: Fix incorrect return statement --- odb/lazy-ptr.ixx | 4 ++-- odb/tr1/lazy-ptr.ixx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/odb/lazy-ptr.ixx b/odb/lazy-ptr.ixx index 3318633..6f56e1b 100644 --- a/odb/lazy-ptr.ixx +++ b/odb/lazy-ptr.ixx @@ -1490,7 +1490,7 @@ namespace odb { p_ = r; i_.reset (); - return this; + return *this; } template @@ -1500,7 +1500,7 @@ namespace odb { p_ = r; i_.reset (); - return this; + return *this; } template diff --git a/odb/tr1/lazy-ptr.ixx b/odb/tr1/lazy-ptr.ixx index ad2d659..1fc2eb0 100644 --- a/odb/tr1/lazy-ptr.ixx +++ b/odb/tr1/lazy-ptr.ixx @@ -472,7 +472,7 @@ namespace odb { p_ = r; i_.reset (); - return this; + return *this; } template @@ -482,7 +482,7 @@ namespace odb { p_ = r; i_.reset (); - return this; + return *this; } template -- cgit v1.1