diff options
| author | 2015-03-01 22:27:28 -0500 | |
|---|---|---|
| committer | 2015-03-01 22:27:28 -0500 | |
| commit | 9a47eb117ce30ab9d7849abf85c87332b41cca8f (patch) | |
| tree | b9016143c408b1ad39c723c6c790b7f29db19702 /src | |
| parent | Merge pull request #621 from Subv/power (diff) | |
| parent | result: Make comparison operators take references (diff) | |
| download | yuzu-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.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 { | |||
| 208 | } | 208 | } |
| 209 | }; | 209 | }; |
| 210 | 210 | ||
| 211 | inline bool operator==(const ResultCode a, const ResultCode b) { | 211 | inline bool operator==(const ResultCode& a, const ResultCode& b) { |
| 212 | return a.raw == b.raw; | 212 | return a.raw == b.raw; |
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | inline bool operator!=(const ResultCode a, const ResultCode b) { | 215 | inline bool operator!=(const ResultCode& a, const ResultCode& b) { |
| 216 | return a.raw != b.raw; | 216 | return a.raw != b.raw; |
| 217 | } | 217 | } |
| 218 | 218 | ||