diff options
Diffstat (limited to 'src/reel_sound_asset.h')
| -rw-r--r-- | src/reel_sound_asset.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/reel_sound_asset.h b/src/reel_sound_asset.h index 8f39e8a0..3158f8a0 100644 --- a/src/reel_sound_asset.h +++ b/src/reel_sound_asset.h @@ -42,12 +42,12 @@ public: /** @return the SoundAsset that this object refers to */ boost::shared_ptr<SoundAsset> asset () { - return boost::dynamic_pointer_cast<SoundAsset> (_asset_ref.object ()); + return boost::dynamic_pointer_cast<SoundAsset> (_asset_ref.asset ()); } /** @return the SoundAsset that this object refers to */ boost::shared_ptr<const SoundAsset> asset () const { - return boost::dynamic_pointer_cast<const SoundAsset> (_asset_ref.object ()); + return boost::dynamic_pointer_cast<const SoundAsset> (_asset_ref.asset ()); } private: @@ -56,4 +56,3 @@ private: }; } - |
