summaryrefslogtreecommitdiff
path: root/test/rewrite_subs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/rewrite_subs.cc')
-rw-r--r--test/rewrite_subs.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc
index 8c055d9e..c7f8bfbd 100644
--- a/test/rewrite_subs.cc
+++ b/test/rewrite_subs.cc
@@ -23,11 +23,11 @@ try
DCP* dcp = new DCP (argv[1]);
dcp->read (false);
- list<shared_ptr<const CPL> > cpls = dcp->cpls ();
- for (list<boost::shared_ptr<const CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) {
+ list<shared_ptr<CPL> > cpls = dcp->cpls ();
+ for (list<boost::shared_ptr<CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) {
- list<shared_ptr<const Reel> > reels = (*i)->reels ();
- for (list<shared_ptr<const Reel> >::iterator j = reels.begin(); j != reels.end(); ++j) {
+ list<shared_ptr<Reel> > reels = (*i)->reels ();
+ for (list<shared_ptr<Reel> >::iterator j = reels.begin(); j != reels.end(); ++j) {
if ((*j)->main_subtitle()) {
(*j)->main_subtitle()->write_xml ();