X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Freel_stereo_picture_asset.h;h=03bb6fd033fb5567f296e22a2c08af571969f158;hb=f0a6d7b5b8d16b8b47917cd30b340917f5c62fc5;hp=3c68f8870cd0b1d0031619ad5722c1e5857a0f40;hpb=ff896d5f5ec20e1371b423bb746c32fa55cc126a;p=libdcp.git diff --git a/src/reel_stereo_picture_asset.h b/src/reel_stereo_picture_asset.h index 3c68f887..03bb6fd0 100644 --- a/src/reel_stereo_picture_asset.h +++ b/src/reel_stereo_picture_asset.h @@ -43,12 +43,12 @@ public: /** @return the StereoPictureAsset that this object refers to */ boost::shared_ptr stereo_asset () const { - return boost::dynamic_pointer_cast (_asset_ref.asset ()); + return asset_of_type (); } /** @return the StereoPictureAsset that this object refers to */ boost::shared_ptr stereo_asset () { - return boost::dynamic_pointer_cast (_asset_ref.asset ()); + return asset_of_type (); } private: