diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-12 14:16:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-12 14:16:27 +0000 |
| commit | 1bcf0b11634647a2a6b99330b2854704e5c1bc38 (patch) | |
| tree | 941c8515af2eb63647f61c3dfd5ee2cd876cf6f3 /src/reel_picture_asset.h | |
| parent | 315f98667668ba59b80033429acf10fb3f4e13fe (diff) | |
Small cleanup.
Diffstat (limited to 'src/reel_picture_asset.h')
| -rw-r--r-- | src/reel_picture_asset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reel_picture_asset.h b/src/reel_picture_asset.h index 39ef3431..1611221f 100644 --- a/src/reel_picture_asset.h +++ b/src/reel_picture_asset.h @@ -45,12 +45,12 @@ public: /** @return the PictureAsset that this object refers to */ boost::shared_ptr<const PictureAsset> asset () const { - return boost::dynamic_pointer_cast<const PictureAsset> (_asset_ref.asset ()); + return asset_of_type<const PictureAsset> (); } /** @return the PictureAsset that this object refers to */ boost::shared_ptr<PictureAsset> asset () { - return boost::dynamic_pointer_cast<PictureAsset> (_asset_ref.asset ()); + return asset_of_type<PictureAsset> (); } /** @return picture frame rate */ |
