2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #618 from lioncash/ref

result: Make comparison operators take references
This commit is contained in:
bunnei 2015-03-01 22:27:28 -05:00
commit 9a47eb117c

View file

@ -208,11 +208,11 @@ union ResultCode {
}
};
inline bool operator==(const ResultCode a, const ResultCode b) {
inline bool operator==(const ResultCode& a, const ResultCode& b) {
return a.raw == b.raw;
}
inline bool operator!=(const ResultCode a, const ResultCode b) {
inline bool operator!=(const ResultCode& a, const ResultCode& b) {
return a.raw != b.raw;
}