aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/helpers.h
diff options
context:
space:
mode:
authorColin Snover2016-06-25 21:08:30 -0500
committerColin Snover2016-06-26 12:44:35 -0500
commit60849a16cb34a35a29734ff86ca4776a0f21e868 (patch)
tree08e4699e88d585add7deb1dd5aa752248cf09694 /engines/sci/graphics/helpers.h
parent5e6f08d9fea3a3b9f2903bad0aa039d9004e0664 (diff)
downloadscummvm-rg350-60849a16cb34a35a29734ff86ca4776a0f21e868.tar.gz
scummvm-rg350-60849a16cb34a35a29734ff86ca4776a0f21e868.tar.bz2
scummvm-rg350-60849a16cb34a35a29734ff86ca4776a0f21e868.zip
SCI32: Change Color::operator!= to all operator== directly
Diffstat (limited to 'engines/sci/graphics/helpers.h')
-rw-r--r--engines/sci/graphics/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/helpers.h b/engines/sci/graphics/helpers.h
index 32e7140d9b..3fcc83c5e2 100644
--- a/engines/sci/graphics/helpers.h
+++ b/engines/sci/graphics/helpers.h
@@ -237,7 +237,7 @@ struct Color {
return used == other.used && r == other.r && g == other.g && b == other.b;
}
inline bool operator!=(const Color &other) const {
- return !(*this == other);
+ return !operator==(other);
}
#endif
};