From: Carl Hetherington Date: Wed, 15 Jul 2020 20:40:22 +0000 (+0200) Subject: Fix warning. X-Git-Tag: v2.15.90~1 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=21589191f6094ac58852effc0e790c4b97fb9434;hp=b115f622f983e1d0a4db323dff6b720dac206c0f;p=dcpomatic.git Fix warning. --- diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index 19b874f8a..770130798 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -242,7 +242,7 @@ ReelWriter::check_existing_picture_asset (boost::filesystem::path asset) try { info_file = _film->info_file_handle (_period, true); - } catch (OpenFileError) { + } catch (OpenFileError &) { LOG_GENERAL_NC ("Could not open film info file"); fclose (asset_file); return 0;