diff --git a/src/inet/common/MemoryInputStream.h b/src/inet/common/MemoryInputStream.h index 95ead16558c..855bb66fa3a 100644 --- a/src/inet/common/MemoryInputStream.h +++ b/src/inet/common/MemoryInputStream.h @@ -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 data; + const std::vector data; /** * The length of the bit stream measured in bits. */