From: Carl Hetherington Date: Mon, 26 Sep 2022 07:14:24 +0000 (+0200) Subject: Fix build on older boosts, again. X-Git-Tag: v2.16.28~1 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=d61a2a6862d90b8db24e2f7c02e272eccbb7f77c Fix build on older boosts, again. --- diff --git a/test/subtitle_font_id_test.cc b/test/subtitle_font_id_test.cc index b55562c22..85fe179c4 100644 --- a/test/subtitle_font_id_test.cc +++ b/test/subtitle_font_id_test.cc @@ -157,7 +157,7 @@ BOOST_AUTO_TEST_CASE(make_dcp_with_subs_in_dcp_without_font_tag) #if BOOST_VERSION >= 107400 boost::filesystem::copy_file("test/data/no_font.xml", source_subtitle_file, boost::filesystem::copy_options::overwrite_existing); #else - boost::filesystem::copy_file("test/data/no_font.xml", source_subtitle_file, boost::filesystem::copy_option::overwrite_existing); + boost::filesystem::copy_file("test/data/no_font.xml", source_subtitle_file, boost::filesystem::copy_option::overwrite_if_exists); #endif /* Fix the tag */