From bd7f4bbde17d2087ba4c4bddf6439b3df869b1db Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 Dec 2020 19:27:53 +0100 Subject: Fix lots of macOS warnings by using a different boost/bind include. --- src/lib/subtitle_encoder.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/subtitle_encoder.cc') diff --git a/src/lib/subtitle_encoder.cc b/src/lib/subtitle_encoder.cc index 1ef7fcd94..b018dcfb4 100644 --- a/src/lib/subtitle_encoder.cc +++ b/src/lib/subtitle_encoder.cc @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include "i18n.h" @@ -38,6 +38,9 @@ using std::pair; using std::vector; using boost::shared_ptr; using boost::optional; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif using dcp::raw_convert; /** @param output Directory, if there will be multiple output files, or a filename. -- cgit v1.2.3