diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-15 22:40:22 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-15 23:13:51 +0200 |
| commit | 21589191f6094ac58852effc0e790c4b97fb9434 (patch) | |
| tree | 1a4928f4f0dc841c0ea62e2ab7567f0cc717d863 | |
| parent | b115f622f983e1d0a4db323dff6b720dac206c0f (diff) | |
Fix warning.
| -rw-r--r-- | src/lib/reel_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
