Fix warning.
authorCarl Hetherington <cth@carlh.net>
Wed, 15 Jul 2020 20:40:22 +0000 (22:40 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 15 Jul 2020 21:13:51 +0000 (23:13 +0200)
src/lib/reel_writer.cc

index 19b874f8a498bcd87ce9efdee1ae0d624cecf2bb..770130798010ab0bd9290f0fa80fac8daf112e0d 100644 (file)
@@ -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;