const correctness.

git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-06-29 13:47:11 +00:00
parent d7733cf2d7
commit b47524ded2

View file

@ -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;