mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #3162 from lioncash/packet
packet: Simplify operator bool overload
This commit is contained in:
		
						commit
						d00b17eb43
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -63,7 +63,7 @@ bool Packet::EndOfPacket() const { | |||
| } | ||||
| 
 | ||||
| Packet::operator bool() const { | ||||
|     return is_valid ? &Packet::CheckSize : nullptr; | ||||
|     return is_valid; | ||||
| } | ||||
| 
 | ||||
| Packet& Packet::operator>>(bool& out_data) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue