Fix build on older boosts, again.
authorCarl Hetherington <cth@carlh.net>
Mon, 26 Sep 2022 07:14:24 +0000 (09:14 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 26 Sep 2022 07:14:24 +0000 (09:14 +0200)
test/subtitle_font_id_test.cc

index b55562c227898bd338f09d52e140453eabfb3ea0..85fe179c47a52bb800219864e27b54c1f88e3898 100644 (file)
@@ -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 <Id> tag */