diff --git a/Telegram/SourceFiles/types.h b/Telegram/SourceFiles/types.h index 0c0b3f34b..836b7af37 100644 --- a/Telegram/SourceFiles/types.h +++ b/Telegram/SourceFiles/types.h @@ -88,7 +88,7 @@ public: private: IteratorImpl impl_; - friend class Self; + friend class OrderedSet; }; friend class iterator; @@ -118,11 +118,11 @@ public: friend class iterator; inline bool operator==(const iterator &other) const { return impl_ == other.impl_; } - inline bool operator!=(const iterator &o) const { return impl_ != other.impl_; } + inline bool operator!=(const iterator &other) const { return impl_ != other.impl_; } private: ConstIteratorImpl impl_; - friend class Self; + friend class OrderedSet; }; friend class const_iterator;