summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-10-11 18:31:56 +0100
committerGitHub <noreply@github.com>2024-10-11 18:31:56 +0100
commit696ff5baead06ab18e4fa80b70bcb7ce36618474 (patch)
treeeda79c38cbe3b018b91038d642ccc48bcc9f93b8 /Source/Core/VideoCommon/GraphicsModSystem
parentb5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff)
parente8d5fb89e4465e8ef64920f12e7cb60e82057658 (diff)
Merge pull request #13121 from mitaclaw/synthesize-operator!=
C++20: Synthesize `operator!=` From `operator==`
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp5
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.h1
2 files changed, 0 insertions, 6 deletions
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);
-}
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.h
index 48106e3a2a..d4ab5b3d1c 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.h
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.h
@@ -13,7 +13,6 @@ struct FBInfo
TextureFormat m_texture_format = TextureFormat::I4;
u32 CalculateHash() const;
bool operator==(const FBInfo& other) const;
- bool operator!=(const FBInfo& other) const;
};
struct FBInfoHasher