projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace hack with use of generic_string from boost::filesystem.
[libdcp.git]
/
src
/
reel_picture_asset.h
diff --git
a/src/reel_picture_asset.h
b/src/reel_picture_asset.h
index 39ef3431bfa846ba506ceefc709f7f24fc4ea730..1611221fc32a777be7f0a174e91aa6a46aedeff0 100644
(file)
--- 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 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 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 */
}
/** @return picture frame rate */