diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-02 04:27:28 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-02 04:27:28 +0100 |
commit | 9a47eb117ce30ab9d7849abf85c87332b41cca8f (patch) | |
tree | b9016143c408b1ad39c723c6c790b7f29db19702 /src/core | |
parent | Merge pull request #621 from Subv/power (diff) | |
parent | result: Make comparison operators take references (diff) | |
download | yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.gz yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.bz2 yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.lz yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.xz yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.zst yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/result.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 0e391fe2d..3648a168b 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -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; } |