diff --git a/Source/Core/VideoCommon/ShaderGenCommon.h b/Source/Core/VideoCommon/ShaderGenCommon.h index 137b0487dd..de6e74e8d3 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.h +++ b/Source/Core/VideoCommon/ShaderGenCommon.h @@ -72,10 +72,7 @@ public: return memcmp(&data, &obj.data, data.NumValues() * sizeof(data)) == 0; } - bool operator!=(const ShaderUid& obj) const - { - return memcmp(&data, &obj.data, data.NumValues() * sizeof(data)) != 0; - } + bool operator!=(const ShaderUid& obj) const { return !operator==(obj); } // determines the storage order inside STL containers bool operator<(const ShaderUid& obj) const