diff options
author | Marcin Kolny <marcin.kolny@gmail.com> | 2016-04-10 17:27:27 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2017-04-07 11:03:49 +0200 |
commit | 928ff27ebf5756a7fc80f6d123b882aa2d8aed27 (patch) | |
tree | a5a98bf186488663682235cfa3e175b82ab541b8 | |
parent | cd82e9d10c1681d83302349a7ad0d1faa6265b88 (diff) | |
download | glibmm-928ff27ebf5756a7fc80f6d123b882aa2d8aed27.tar.gz |
glibmm_weakref: fix get()
-rw-r--r-- | glib/glibmm/weakref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/glibmm/weakref.h b/glib/glibmm/weakref.h index 628d110f..570351db 100644 --- a/glib/glibmm/weakref.h +++ b/glib/glibmm/weakref.h @@ -354,7 +354,7 @@ WeakRef<T_CppObject>::get() const noexcept // A RefPtr constructed from pointer expects reference to be done externally. pCppObject_->reference(); - ret = RefPtr<T_CppObject>(pCppObject_); + ret = make_refptr_for_instance<T_CppObject>(pCppObject_); g_object_unref(ptr); |