aboutsummaryrefslogtreecommitdiff
path: root/odb/lazy-ptr.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-12-10 16:56:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-12-10 16:56:27 +0200
commitf995dcc30766afe58d212131efb6478c2dbfd7b9 (patch)
treeb75206611cd9a76750160d8c96ed85fb6456cbfc /odb/lazy-ptr.ixx
parentd5a8a14abbbdb41c753502ea25e2c327ada106f3 (diff)
Fix incorrect return statement
Diffstat (limited to 'odb/lazy-ptr.ixx')
-rw-r--r--odb/lazy-ptr.ixx4
1 files changed, 2 insertions, 2 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 <class T>
@@ -1500,7 +1500,7 @@ namespace odb
{
p_ = r;
i_.reset ();
- return this;
+ return *this;
}
template <class T>