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

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

mlt++/src/MltProducer.cpp
mlt++/src/MltProducer.h

index 75e3329..4302243 100644 (file)
@@ -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 )
 {
index cf43173..7b28e94 100644 (file)
@@ -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 );