summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ImageOperations.h
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/InputCommon/ImageOperations.h
parentb5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff)
parente8d5fb89e4465e8ef64920f12e7cb60e82057658 (diff)
Merge pull request #13121 from mitaclaw/synthesize-operator!=
C++20: Synthesize `operator!=` From `operator==`
Diffstat (limited to 'Source/Core/InputCommon/ImageOperations.h')
-rw-r--r--Source/Core/InputCommon/ImageOperations.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ImageOperations.h b/Source/Core/InputCommon/ImageOperations.h
index da8b938c15..72887d1db2 100644
--- a/Source/Core/InputCommon/ImageOperations.h
+++ b/Source/Core/InputCommon/ImageOperations.h
@@ -21,7 +21,6 @@ struct Pixel
u8 a = 0;
bool operator==(const Pixel& o) const { return r == o.r && g == o.g && b == o.b && a == o.a; }
- bool operator!=(const Pixel& o) const { return !(o == *this); }
};
using Point = Common::TVec2<u32>;