X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_content.cc;h=517d6792f89715d16f83edcaa60779f40a7e99ee;hb=e14c78e13eab9125a875e90b97c7dab77aa46b90;hp=8902798a4c4f1d4187d1cc6a6fa095b71ef28de2;hpb=673ba43fb66eb0dee43807501753749f144254a7;p=dcpomatic.git diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index 8902798a4..517d6792f 100644 --- a/src/lib/image_content.cc +++ b/src/lib/image_content.cc @@ -29,7 +29,6 @@ #include "image_filename_sorter.h" #include #include -#include #include #include "i18n.h" @@ -38,7 +37,8 @@ using std::string; using std::cout; using std::list; using std::vector; -using boost::shared_ptr; +using std::shared_ptr; +using namespace dcpomatic; ImageContent::ImageContent (boost::filesystem::path p) { @@ -162,7 +162,7 @@ ImageContent::still () const void ImageContent::set_default_colour_conversion () { - BOOST_FOREACH (boost::filesystem::path i, paths()) { + for (auto i: paths()) { if (valid_j2k_file (i)) { /* We default to no colour conversion if we have JPEG2000 files */ video->unset_colour_conversion (); @@ -182,8 +182,8 @@ ImageContent::set_default_colour_conversion () } void -ImageContent::add_properties (list& p) const +ImageContent::add_properties (shared_ptr film, list& p) const { - Content::add_properties (p); + Content::add_properties (film, p); video->add_properties (p); }