From c25c019eb8e71a9028b782c2c637e5815df4d133 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 25 Dec 2010 02:47:10 +0000 Subject: More const is always a good thing. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2785 a436a847-0d15-0410-975c-d299462d15a1 --- raul/RingBuffer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'raul/RingBuffer.hpp') 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 }; -- cgit v1.2.1