diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-23 15:08:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-23 15:08:56 +0000 |
| commit | b1ae6e39d31408e5f1eae77fe1de1ac292f54182 (patch) | |
| tree | ad2bb4c335252ea4f48e569dd5c2446d58429a9e /src/lib | |
| parent | c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 (diff) | |
Fix warnings about catching polymorphic types by value (#1843).
Diffstat (limited to 'src/lib')
| -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 071cab12a..84923c202 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -211,7 +211,7 @@ ReelWriter::check_existing_picture_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; |
