From 1ab5b481ff4a0a7d55502361191d0f8acb36621d Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 22 Mar 2022 21:13:47 +0300 Subject: [PATCH] Fix ambiguous comparison operator warning --- rpcs3/Emu/RSX/Common/ranged_map.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rpcs3/Emu/RSX/Common/ranged_map.hpp b/rpcs3/Emu/RSX/Common/ranged_map.hpp index 79c4169946..ddd8c76761 100644 --- a/rpcs3/Emu/RSX/Common/ranged_map.hpp +++ b/rpcs3/Emu/RSX/Common/ranged_map.hpp @@ -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);