Skip to content

Commit

Permalink
MemoryInputStream: the 'data' is const
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoltanBojthe authored and levy committed Jan 16, 2024
1 parent bdf2f3c commit ddf3e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inet/common/MemoryInputStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class INET_API MemoryInputStream
* the last byte. In other cases some of the lower bits of the last byte are
* not used.
*/
std::vector<uint8_t> data;
const std::vector<uint8_t> data;
/**
* The length of the bit stream measured in bits.
*/
Expand Down

0 comments on commit ddf3e10

Please sign in to comment.