mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 08:47:52 +00:00
6003ac2132
Sometimes you don't need shared ownership (shared_ptr), but you still need to be able to have weak pointers to an object. Now you can derive the object from base::enable_weak_from_this and use base::weak_unique_ptr<T> after that.