diff --git a/td/tl/TlObject.h b/td/tl/TlObject.h index e53181db0..f5c4a28ac 100644 --- a/td/tl/TlObject.h +++ b/td/tl/TlObject.h @@ -96,6 +96,9 @@ namespace tl { template class unique_ptr { public: + using pointer = T *; + using element_type = T; + unique_ptr() noexcept = default; unique_ptr(const unique_ptr &other) = delete; unique_ptr &operator=(const unique_ptr &other) = delete;