diff options
author | Carl Hetherington <carl@carlh.net> | 2010-06-29 13:47:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-06-29 13:47:11 +0000 |
commit | b47524ded2af50bda96dc9d2dcf5f56cd7e94092 (patch) | |
tree | 27a69060d4b8194896d5e60751352c40e175d732 /libs/pbd | |
parent | d7733cf2d78dea4bf6ca7180e801d042b777c512 (diff) |
const correctness.
git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/pbd/ringbuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/ringbuffer.h b/libs/pbd/pbd/ringbuffer.h index 1d9431ca07..f14fa71851 100644 --- a/libs/pbd/pbd/ringbuffer.h +++ b/libs/pbd/pbd/ringbuffer.h @@ -55,7 +55,7 @@ class RingBuffer } guint read (T *dest, guint cnt); - guint write (T *src, guint cnt); + guint write (T const * src, guint cnt); struct rw_vector { T *buf[2]; @@ -158,7 +158,7 @@ RingBuffer<T>::read (T *dest, guint cnt) } template<class T> guint -RingBuffer<T>::write (T *src, guint cnt) +RingBuffer<T>::write (T const *src, guint cnt) { guint free_cnt; |