1
0
Fork 0

preserver stream state checking when reading 8bit values

This commit is contained in:
Kevin Matz 2022-11-14 10:00:02 -05:00
parent 0b5435065e
commit b20e463177
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ pdu_stream& pdu_stream::operator>> (pdu_stream_object& obj)
*/
pdu_stream& pdu_stream::operator>> (uint8_t& val)
{
val = get();
val = readType<uint8_t>();
return *this;
};