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
1 changed files with 1 additions and 6 deletions

View File

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