summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-09 16:18:00 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-09 16:18:00 +0100
commit2a01820de9229fd778787421ec4f7bbf1e4b8bf1 (patch)
tree9243a62fb21cea583f6b012fcc0ec1088ae19c84 /src/lib/writer.cc
parentea3e9db20ede512d5e5d73b41c4cb796eeef56d3 (diff)
Hide Font members behind accessors.
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index 7e47c317e..289f10c42 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -521,7 +521,7 @@ Writer::finish ()
/* Add all the fonts to the subtitle content */
BOOST_FOREACH (shared_ptr<Font> i, _fonts) {
- _subtitle_asset->add_font (i->id, i->file.get_value_or (liberation));
+ _subtitle_asset->add_font (i->id(), i->file().get_value_or (liberation));
}
if (dynamic_pointer_cast<dcp::InteropSubtitleAsset> (_subtitle_asset)) {