summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2015-03-01 22:27:28 -0500
committerGravatar bunnei2015-03-01 22:27:28 -0500
commit9a47eb117ce30ab9d7849abf85c87332b41cca8f (patch)
treeb9016143c408b1ad39c723c6c790b7f29db19702 /src
parentMerge pull request #621 from Subv/power (diff)
parentresult: Make comparison operators take references (diff)
downloadyuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.gz
yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.tar.xz
yuzu-9a47eb117ce30ab9d7849abf85c87332b41cca8f.zip
Merge pull request #618 from lioncash/ref
result: Make comparison operators take references
Diffstat (limited to 'src')
-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 {
208 } 208 }
209}; 209};
210 210
211inline bool operator==(const ResultCode a, const ResultCode b) { 211inline bool operator==(const ResultCode& a, const ResultCode& b) {
212 return a.raw == b.raw; 212 return a.raw == b.raw;
213} 213}
214 214
215inline bool operator!=(const ResultCode a, const ResultCode b) { 215inline bool operator!=(const ResultCode& a, const ResultCode& b) {
216 return a.raw != b.raw; 216 return a.raw != b.raw;
217} 217}
218 218