projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix erroneous extra character.
[libdcp.git]
/
src
/
reel_sound_asset.h
diff --git
a/src/reel_sound_asset.h
b/src/reel_sound_asset.h
index 9767307a787a097a925ac97e3b0d04055c2f9a93..fd1a63fe60046511015b041839d065fa37ac0268 100644
(file)
--- a/
src/reel_sound_asset.h
+++ b/
src/reel_sound_asset.h
@@
-42,18
+42,17
@@
public:
/** @return the SoundAsset that this object refers to */
boost::shared_ptr<SoundAsset> asset () {
/** @return the SoundAsset that this object refers to */
boost::shared_ptr<SoundAsset> asset () {
- return
boost::dynamic_pointer_cast<SoundAsset> (_asset_ref.object ()
);
+ return
asset_of_type<SoundAsset> (
);
}
/** @return the SoundAsset that this object refers to */
boost::shared_ptr<const SoundAsset> asset () const {
}
/** @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
asset_of_type<const SoundAsset> (
);
}
}
-
+
private:
std::string key_type () const;
std::string cpl_node_name () const;
};
}
private:
std::string key_type () const;
std::string cpl_node_name () const;
};
}
-