mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #4161 from FearlessTobi/port-1139
Port #1139 from yuzu: "bit_field: Convert ToBool() into explicit operator bool"
This commit is contained in:
		
						commit
						b130dd6842
					
				
					 3 changed files with 8 additions and 9 deletions
				
			
		|  | @ -178,8 +178,7 @@ public: | |||
|         return ExtractValue(storage); | ||||
|     } | ||||
| 
 | ||||
|     // TODO: we may want to change this to explicit operator bool() if it's bug-free in VS2015
 | ||||
|     FORCE_INLINE bool ToBool() const { | ||||
|     constexpr explicit operator bool() const { | ||||
|         return Value() != 0; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue