const correctness.
git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user