From 80fec40c4f046be50645a0dfbf05a92520b50e7c Mon Sep 17 00:00:00 2001 From: ddennedy Date: Fri, 10 Apr 2009 07:24:34 +0000 Subject: [PATCH] Constness changes Signed-off-by: Ray Lehtiniemi git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1393 d19143bc-622f-0410-bfdd-b5b2a6649095 --- mlt++/src/MltConsumer.cpp | 2 +- mlt++/src/MltConsumer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mlt++/src/MltConsumer.cpp b/mlt++/src/MltConsumer.cpp index 1989133..1b5c4df 100644 --- a/mlt++/src/MltConsumer.cpp +++ b/mlt++/src/MltConsumer.cpp @@ -37,7 +37,7 @@ Consumer::Consumer( Profile& profile ) : instance = mlt_factory_consumer( profile.get_profile(), NULL, NULL ); } -Consumer::Consumer( Profile& profile, char *id, char *arg ) : +Consumer::Consumer( Profile& profile, const char *id, const char *arg ) : instance( NULL ) { if ( id == NULL || arg != NULL ) diff --git a/mlt++/src/MltConsumer.h b/mlt++/src/MltConsumer.h index 52a2882..04948e8 100644 --- a/mlt++/src/MltConsumer.h +++ b/mlt++/src/MltConsumer.h @@ -39,7 +39,7 @@ namespace Mlt public: Consumer( ); Consumer( Profile& profile ); - Consumer( Profile& profile, char *id , char *service = NULL ); + Consumer( Profile& profile, const char *id , const char *service = NULL ); Consumer( Service &consumer ); Consumer( Consumer &consumer ); Consumer( mlt_consumer consumer ); -- 1.7.4.4