Constness changes
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 10 Apr 2009 07:24:34 +0000 (07:24 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 10 Apr 2009 07:24:34 +0000 (07:24 +0000)
Signed-off-by: Ray Lehtiniemi <rayl@mail.com>

git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1393 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt++/src/MltConsumer.cpp
mlt++/src/MltConsumer.h

index 1989133..1b5c4df 100644 (file)
@@ -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 )
index 52a2882..04948e8 100644 (file)
@@ -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 );