mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #618 from lioncash/ref
result: Make comparison operators take references
This commit is contained in:
		
						commit
						9a47eb117c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue