summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-02 04:27:28 +0100
committerbunnei <bunneidev@gmail.com>2015-03-02 04:27:28 +0100
commit9a47eb117ce30ab9d7849abf85c87332b41cca8f (patch)
treeb9016143c408b1ad39c723c6c790b7f29db19702
parentMerge pull request #621 from Subv/power (diff)
parentresult: Make comparison operators take references (diff)
downloadyuzu-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
-rw-r--r--src/core/hle/result.h4
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;
}