summaryrefslogtreecommitdiff
path: root/glib/glibmm.h
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-12-11 20:57:37 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-12-11 21:43:41 +0100
commit313e376d1712ac78b005ac3ee61c2a46b50952b5 (patch)
treec84d201385b9d75f3bda9389f8de4d36e04ac0cd /glib/glibmm.h
parentcb35307fa9e8ccdd4d18a0f508ca8887d740c940 (diff)
downloadglibmm-313e376d1712ac78b005ac3ee61c2a46b50952b5.tar.gz
Remove Glib::WeakRefrefptr_as_sharedptr_v3
Now that RefPtr is really a std::shared_ptr<>, we should use std::weak_ref<> instead. Note that a std::weak_ptr<> tells you nothing about whether the underlying GObject is still alive, which Glib::RefPtr did. It just tells you whether our std::shared_ptr<> still holds a reference to it. That's why I removed one of the checks in tests/giomm_listmodel/main.cc.
Diffstat (limited to 'glib/glibmm.h')
-rw-r--r--glib/glibmm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/glib/glibmm.h b/glib/glibmm.h
index 153d65ef..dcff5465 100644
--- a/glib/glibmm.h
+++ b/glib/glibmm.h
@@ -145,7 +145,6 @@
#include <glibmm/variantiter.h>
#include <glibmm/varianttype.h>
#include <glibmm/vectorutils.h>
-#include <glibmm/weakref.h>
#include <glibmm/wrap.h>
#endif /* _GLIBMM_H */