summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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;