X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_examiner.cc;fp=src%2Flib%2Fimage_examiner.cc;h=ac2c95a08a1d71f12d0333fb56db2c9901721bd0;hb=96f50dd5e600925488fdd9db1580aa01b026269b;hp=6e4dea7b7da6f1ddc104341f5a8c5bf415475578;hpb=94a9473993b027b9368077009decbdd4322f90e3;p=dcpomatic.git diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc index 6e4dea7b7..ac2c95a08 100644 --- a/src/lib/image_examiner.cc +++ b/src/lib/image_examiner.cc @@ -31,6 +31,7 @@ #include "job.h" #include #include +#include #include #include @@ -50,7 +51,7 @@ ImageExaminer::ImageExaminer (shared_ptr film, shared_ptrpath(0); if (valid_j2k_file (path)) { - auto size = boost::filesystem::file_size (path); + auto size = dcp::filesystem::file_size(path); dcp::File f(path, "rb"); if (!f) { throw FileError ("Could not open file for reading", path);