diff options
-rw-r--r-- | odb/boost/smart-ptr/lazy-ptr.ixx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/boost/smart-ptr/lazy-ptr.ixx b/odb/boost/smart-ptr/lazy-ptr.ixx index e3c423f..b592639 100644 --- a/odb/boost/smart-ptr/lazy-ptr.ixx +++ b/odb/boost/smart-ptr/lazy-ptr.ixx @@ -45,7 +45,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 ::boost::bad_weak_ptr (); |