mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
const correctness.
git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d7733cf2d7
commit
b47524ded2
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue