diff options
author | David Robillard <d@drobilla.net> | 2010-12-25 02:47:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-25 02:47:10 +0000 |
commit | c25c019eb8e71a9028b782c2c637e5815df4d133 (patch) | |
tree | 5959cbf8ed4f2ee89589aaea6c39a22f79ae7b5b /raul | |
parent | 4cad5bb1aa1b638843186915e2329f3e57137b14 (diff) | |
download | raul-c25c019eb8e71a9028b782c2c637e5815df4d133.tar.gz raul-c25c019eb8e71a9028b782c2c637e5815df4d133.tar.bz2 raul-c25c019eb8e71a9028b782c2c637e5815df4d133.zip |
More const is always a good thing.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2785 a436a847-0d15-0410-975c-d299462d15a1
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 }; |