citra-emu
/
citra-canary
Archived
1
0
Fork 0

Merge pull request #3162 from lioncash/packet

packet: Simplify operator bool overload
This commit is contained in:
bunnei 2017-11-29 10:41:13 -05:00 committed by GitHub
commit d00b17eb43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ bool Packet::EndOfPacket() const {
} }
Packet::operator bool() const { Packet::operator bool() const {
return is_valid ? &Packet::CheckSize : nullptr; return is_valid;
} }
Packet& Packet::operator>>(bool& out_data) { Packet& Packet::operator>>(bool& out_data) {