VERY experimental Nintendo Switch 2 emulator
C++
result: Make comparison operators take references
Lioncash99ff8bbb0cd5
diff --git a/src/core/hle/result.h b/src/core/hle/result.hindex 0e391fe2d1..3648a168b3 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;}