diff options
Diffstat (limited to 'odb/qt/smart-ptr/lazy-ptr.ixx')
-rw-r--r-- | odb/qt/smart-ptr/lazy-ptr.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/qt/smart-ptr/lazy-ptr.ixx b/odb/qt/smart-ptr/lazy-ptr.ixx index d2b462f..181044c 100644 --- a/odb/qt/smart-ptr/lazy-ptr.ixx +++ b/odb/qt/smart-ptr/lazy-ptr.ixx @@ -196,6 +196,13 @@ loaded () const } template <class T> +inline QLazySharedPointer<T> QLazyWeakPointer<T>:: +toStrongRef () const +{ + return QLazySharedPointer<T> (p_.toStrongRef (), i_); +} + +template <class T> inline QSharedPointer<T> QLazySharedPointer<T>:: load () const { |