diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-12-11 20:57:37 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2017-04-05 13:59:53 +0200 |
commit | a73842e7b18ae1abbfb47ad628cc706348a6ee7a (patch) | |
tree | 943b10c4f93beddb6eac0a129d5ffd5bb5c066da /glib/glibmm/refptr.h | |
parent | ed3cde0c0f31dd098f39ba415e1b72bad8d7a62b (diff) | |
download | glibmm-refptr_as_sharedptr_v4.tar.gz |
Remove Glib::WeakRefrefptr_as_sharedptr_v4
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/refptr.h')
0 files changed, 0 insertions, 0 deletions