From: ddennedy Date: Fri, 10 Apr 2009 07:25:06 +0000 (+0000) Subject: Constness changes X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=3e54b5c2dc70cad4d4e039f9d20db6c2472f556d;p=melted Constness changes Signed-off-by: Ray Lehtiniemi git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1395 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt++/src/MltProducer.cpp b/mlt++/src/MltProducer.cpp index 75e3329..4302243 100644 --- a/mlt++/src/MltProducer.cpp +++ b/mlt++/src/MltProducer.cpp @@ -29,7 +29,7 @@ Producer::Producer( ) : { } -Producer::Producer( Profile& profile, char *id, char *service ) : +Producer::Producer( Profile& profile, const char *id, const char *service ) : instance( NULL ), parent_( NULL ) { diff --git a/mlt++/src/MltProducer.h b/mlt++/src/MltProducer.h index cf43173..7b28e94 100644 --- a/mlt++/src/MltProducer.h +++ b/mlt++/src/MltProducer.h @@ -41,7 +41,7 @@ namespace Mlt Producer *parent_; public: Producer( ); - Producer( Profile& profile, char *id, char *service = NULL ); + Producer( Profile& profile, const char *id, const char *service = NULL ); Producer( Service &producer ); Producer( mlt_producer producer ); Producer( Producer &producer );