mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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.