From b47524ded2af50bda96dc9d2dcf5f56cd7e94092 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 29 Jun 2010 13:47:11 +0000 Subject: [PATCH] const correctness. git-svn-id: svn://localhost/ardour2/branches/3.0@7323 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/ringbuffer.h | 4 ++-- 1 file 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::read (T *dest, guint cnt) } template guint -RingBuffer::write (T *src, guint cnt) +RingBuffer::write (T const *src, guint cnt) { guint free_cnt;