From a69a5c7252cefe867943a336c3a87e96d94f2b92 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 25 Mar 2016 20:00:44 +0300 Subject: [PATCH] fixed build for clang, 0.9.35 dev version --- Telegram/SourceFiles/types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;