summaryrefslogtreecommitdiff
path: root/src/reel_subtitle_asset.h
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/reel_subtitle_asset.h
parent7a8bf6efd00161b1ce7bb160bd50a0c11c28d792 (diff)
Ref does not need to be a template since it's always used for Asset.
Diffstat (limited to 'src/reel_subtitle_asset.h')
-rw-r--r--src/reel_subtitle_asset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reel_subtitle_asset.h b/src/reel_subtitle_asset.h
index d4f11cfa..272b18f5 100644
--- a/src/reel_subtitle_asset.h
+++ b/src/reel_subtitle_asset.h
@@ -41,7 +41,7 @@ public:
ReelSubtitleAsset (boost::shared_ptr<const cxml::Node>);
boost::shared_ptr<SubtitleAsset> asset () const {
- return boost::dynamic_pointer_cast<SubtitleAsset> (_asset_ref.object ());
+ return boost::dynamic_pointer_cast<SubtitleAsset> (_asset_ref.asset ());
}
private: