projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbf2fbd
)
Fix build on older boosts.
author
Carl Hetherington
<cth@carlh.net>
Mon, 26 Sep 2022 05:53:56 +0000
(07:53 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 26 Sep 2022 05:53:56 +0000
(07:53 +0200)
test/subtitle_font_id_test.cc
patch
|
blob
|
history
diff --git
a/test/subtitle_font_id_test.cc
b/test/subtitle_font_id_test.cc
index 658d970e1e38b2dcc50fc054253728971a4af4e7..b55562c227898bd338f09d52e140453eabfb3ea0 100644
(file)
--- a/
test/subtitle_font_id_test.cc
+++ b/
test/subtitle_font_id_test.cc
@@
-154,7
+154,11
@@
BOOST_AUTO_TEST_CASE(make_dcp_with_subs_in_dcp_without_font_tag)
/* Graft in some bad subs with no <Font> tag */
auto source_subtitle_file = subtitle_file(source);
+#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);
+#endif
/* Fix the <Id> tag */
{