summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-23 15:08:56 +0000
committerCarl Hetherington <cth@carlh.net>2020-09-23 15:08:56 +0000
commitb1ae6e39d31408e5f1eae77fe1de1ac292f54182 (patch)
treead2bb4c335252ea4f48e569dd5c2446d58429a9e /src/lib
parentc1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 (diff)
Fix warnings about catching polymorphic types by value (#1843).
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/reel_writer.cc2
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;