From e8d5fb89e4465e8ef64920f12e7cb60e82057658 Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:16:57 -0700 Subject: C++20: Synthesize `operator!=` From `operator==` The inequality operator is automatically generated by the compiler if `operator==` is defined. --- Source/Core/DolphinQt/Translation.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/DolphinQt/Translation.cpp') diff --git a/Source/Core/DolphinQt/Translation.cpp b/Source/Core/DolphinQt/Translation.cpp index 83404d6a76..118634ebf0 100644 --- a/Source/Core/DolphinQt/Translation.cpp +++ b/Source/Core/DolphinQt/Translation.cpp @@ -80,7 +80,6 @@ public: // Needed for InputIterator concept bool operator==(const MoIterator& other) const { return distance_to(other) == 0; } - bool operator!=(const MoIterator& other) const { return !(*this == other); } pointer operator->() const { return dereference(); } MoIterator operator++(int) { -- cgit v1.2.3