From c8eef2c4f0f9b22babc9aef9e0d4cef133475c9b Mon Sep 17 00:00:00 2001 From: John Glover Date: Fri, 20 Jul 2012 17:44:01 +0100 Subject: [sndobj] Change input parameter 'mess' from char* to const char* in Set and Connect methods of analysis SndObjs. --- src/sndobj/SndObj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sndobj/SndObj.cpp') diff --git a/src/sndobj/SndObj.cpp b/src/sndobj/SndObj.cpp index 4fbd828..c394821 100644 --- a/src/sndobj/SndObj.cpp +++ b/src/sndobj/SndObj.cpp @@ -115,7 +115,7 @@ SndObj::AddMsg(const char* mess, int ID){ } int -SndObj::Connect(char* mess, void *input){ +SndObj::Connect(const char* mess, void *input){ switch (FindMsg(mess)){ @@ -130,7 +130,7 @@ SndObj::Connect(char* mess, void *input){ } int -SndObj::Set(char* mess, double value){ +SndObj::Set(const char* mess, double value){ switch (FindMsg(mess)){ -- cgit v1.2.3