From: Carl Hetherington Date: Wed, 14 Jul 2021 17:15:43 +0000 (+0200) Subject: Fix boost bind warning. X-Git-Tag: v1.6.0^2~5 X-Git-Url: https://git.carlh.net/gitweb/?p=libsub.git;a=commitdiff_plain;h=f6be8f2cdbcb9c8329ad48c392387ea052ff8b0d Fix boost bind warning. --- diff --git a/src/ssa_reader.cc b/src/ssa_reader.cc index 4a9be0e..39b99d2 100644 --- a/src/ssa_reader.cc +++ b/src/ssa_reader.cc @@ -24,7 +24,7 @@ #include "subtitle.h" #include "compose.hpp" #include -#include +#include #include #include @@ -35,6 +35,9 @@ using std::cout; using boost::optional; using boost::function; using namespace boost::algorithm; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif using namespace sub; /** @param s Subtitle string encoded in UTF-8 */