summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-17 14:30:21 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-17 14:30:21 +0100
commit34f2b95c1638a2cfedf21de5a203d6c0b77abf11 (patch)
treebd78b7dbca7d975a89ef9628f6d4b2fd783a39f1 /test
parent81ed0ebb725a7b5fec00ae209ba8b0d70ebc4ee1 (diff)
Use an optional<> where there should be one.
Diffstat (limited to 'test')
-rw-r--r--test/rewrite_subs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc
index ba27d190..2f3cea54 100644
--- a/test/rewrite_subs.cc
+++ b/test/rewrite_subs.cc
@@ -52,7 +52,7 @@ main (int argc, char* argv[])
for (list<shared_ptr<Reel> >::iterator j = reels.begin(); j != reels.end(); ++j) {
if ((*j)->main_subtitle()) {
- (*j)->main_subtitle()->asset()->write ((*j)->main_subtitle()->asset()->file ());
+ (*j)->main_subtitle()->asset()->write ((*j)->main_subtitle()->asset()->file().get());
}
}
}