fixed build for clang, 0.9.35 dev version

This commit is contained in:
John Preston 2016-03-25 20:00:44 +03:00
parent 4bb906b9f8
commit a69a5c7252

View file

@ -88,7 +88,7 @@ public:
private: private:
IteratorImpl impl_; IteratorImpl impl_;
friend class Self; friend class OrderedSet<T>;
}; };
friend class iterator; friend class iterator;
@ -118,11 +118,11 @@ public:
friend class iterator; friend class iterator;
inline bool operator==(const iterator &other) const { return impl_ == other.impl_; } 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: private:
ConstIteratorImpl impl_; ConstIteratorImpl impl_;
friend class Self; friend class OrderedSet<T>;
}; };
friend class const_iterator; friend class const_iterator;