From e50c3bc7ab1fe47362ab584b66e3b56c8089aa23 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Dec 2012 16:56:52 +0200 Subject: Fix incorrect return statement --- odb/boost/smart-ptr/lazy-ptr.ixx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odb/boost/smart-ptr/lazy-ptr.ixx b/odb/boost/smart-ptr/lazy-ptr.ixx index a9d8e4d..b5370a5 100644 --- a/odb/boost/smart-ptr/lazy-ptr.ixx +++ b/odb/boost/smart-ptr/lazy-ptr.ixx @@ -509,7 +509,7 @@ namespace odb { p_ = r; i_.reset (); - return this; + return *this; } template @@ -519,7 +519,7 @@ namespace odb { p_ = r; i_.reset (); - return this; + return *this; } template -- cgit v1.1