Fix ambiguous comparison operator warning

This commit is contained in:
kd-11 2022-03-22 21:13:47 +03:00 committed by kd-11
parent 26ee1246ae
commit 1ab5b481ff

View file

@ -120,16 +120,11 @@ namespace rsx
{} {}
public: public:
inline bool operator == (const iterator& other) inline bool operator == (const iterator& other) const
{ {
return m_it == other.m_it; return m_it == other.m_it;
} }
inline bool operator != (const iterator& other)
{
return m_it != other.m_it;
}
inline auto* operator -> () inline auto* operator -> ()
{ {
ensure(m_current); ensure(m_current);