diff options
-rw-r--r-- | odb/lazy-ptr.ixx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/lazy-ptr.ixx b/odb/lazy-ptr.ixx index 0cc03f5..ccd95cc 100644 --- a/odb/lazy-ptr.ixx +++ b/odb/lazy-ptr.ixx @@ -937,7 +937,7 @@ namespace odb { // If the pointer has expired but can be re-loaded, then don't throw. // - p_ = r.lock (); + p_ = r.lock ().get_eager (); if (!p_ && !i_) throw std::bad_weak_ptr (); |