aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/lazy-ptr.ixx4
-rw-r--r--odb/tr1/lazy-ptr.ixx4
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 <class T>
@@ -1500,7 +1500,7 @@ namespace odb
{
p_ = r;
i_.reset ();
- return this;
+ return *this;
}
template <class T>
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 <class T>
@@ -482,7 +482,7 @@ namespace odb
{
p_ = r;
i_.reset ();
- return this;
+ return *this;
}
template <class T>