X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_content.cc;h=517d6792f89715d16f83edcaa60779f40a7e99ee;hb=e14c78e13eab9125a875e90b97c7dab77aa46b90;hp=8cf44bda1fd870682575f9bc3a6410b59f92bc5b;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index 8cf44bda1..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,7 @@ 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) @@ -163,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 ();