diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/RingBuffer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raul/RingBuffer.hpp b/raul/RingBuffer.hpp index e42d2eb..4bae30a 100644 --- a/raul/RingBuffer.hpp +++ b/raul/RingBuffer.hpp @@ -101,8 +101,8 @@ protected: mutable uint32_t _write_ptr; mutable uint32_t _read_ptr; - char* _buf; ///< Contents - uint32_t _size; ///< Size (capacity) in bytes + char* const _buf; ///< Contents + const uint32_t _size; ///< Size (capacity) in bytes }; |