summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-16 20:20:47 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-16 20:20:47 +0000
commitff896d5f5ec20e1371b423bb746c32fa55cc126a (patch)
treebcd6f76709753812c8a988ad43c1f7b8727c6f28 /src/interop_subtitle_asset.cc
parent7a8bf6efd00161b1ce7bb160bd50a0c11c28d792 (diff)
Ref does not need to be a template since it's always used for Asset.
Diffstat (limited to 'src/interop_subtitle_asset.cc')
-rw-r--r--src/interop_subtitle_asset.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc
index 4ba24a19..a2742b78 100644
--- a/src/interop_subtitle_asset.cc
+++ b/src/interop_subtitle_asset.cc
@@ -181,9 +181,9 @@ InteropSubtitleAsset::write (boost::filesystem::path p) const
}
void
-InteropSubtitleAsset::resolve_fonts (list<shared_ptr<Object> > objects)
+InteropSubtitleAsset::resolve_fonts (list<shared_ptr<Asset> > assets)
{
- BOOST_FOREACH (shared_ptr<Object> i, objects) {
+ BOOST_FOREACH (shared_ptr<Asset> i, assets) {
shared_ptr<FontAsset> font = dynamic_pointer_cast<FontAsset> (i);
if (!font) {
continue;