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/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp') diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp index 5921c4a3e5..9325c7649e 100644 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp @@ -15,8 +15,3 @@ bool FBInfo::operator==(const FBInfo& other) const return m_height == other.m_height && m_width == other.m_width && m_texture_format == other.m_texture_format; } - -bool FBInfo::operator!=(const FBInfo& other) const -{ - return !(*this == other); -} -- cgit v1.2.3