summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureConfig.cpp
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/TextureConfig.cpp
parentb5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff)
parente8d5fb89e4465e8ef64920f12e7cb60e82057658 (diff)
Merge pull request #13121 from mitaclaw/synthesize-operator!=
C++20: Synthesize `operator!=` From `operator==`
Diffstat (limited to 'Source/Core/VideoCommon/TextureConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureConfig.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/TextureConfig.cpp b/Source/Core/VideoCommon/TextureConfig.cpp
index 3d25eac017..dd1c3b9914 100644
--- a/Source/Core/VideoCommon/TextureConfig.cpp
+++ b/Source/Core/VideoCommon/TextureConfig.cpp
@@ -13,11 +13,6 @@ bool TextureConfig::operator==(const TextureConfig& o) const
std::tie(o.width, o.height, o.levels, o.layers, o.samples, o.format, o.flags, o.type);
}
-bool TextureConfig::operator!=(const TextureConfig& o) const
-{
- return !operator==(o);
-}
-
MathUtil::Rectangle<int> TextureConfig::GetRect() const
{
return {0, 0, static_cast<int>(width), static_cast<int>(height)};