X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffile_group.cc;h=3e8a7b79c43177a8d775889ab91d08855bb0e77e;hb=895b386b6751afd3d068155f4ea71e762297672a;hp=942eb435d87f081e38ef5e48bf53ea0e4dd3cdea;hpb=d60fd90a6e13c727a05b629c8c4b93d4bf3b717b;p=dcpomatic.git diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 942eb435d..3e8a7b79c 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -93,7 +93,7 @@ FileGroup::ensure_open_path (size_t p) const _current_path = p; _current_file = fopen_boost (_paths[_current_path], "rb"); if (_current_file == 0) { - throw OpenFileError (_paths[_current_path], errno, true); + throw OpenFileError (_paths[_current_path], errno, OpenFileError::READ); } }