aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-12-10 16:56:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-12-10 16:56:52 +0200
commite50c3bc7ab1fe47362ab584b66e3b56c8089aa23 (patch)
tree3f9dc212d78db3950f988d848094159ac75f157f
parent55a830cf07864cf5c668095788844c2ce7aa081e (diff)
Fix incorrect return statement
-rw-r--r--odb/boost/smart-ptr/lazy-ptr.ixx4
1 files 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 <class T>
@@ -519,7 +519,7 @@ namespace odb
{
p_ = r;
i_.reset ();
- return this;
+ return *this;
}
template <class T>