diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-07-14 19:15:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-07-14 19:15:43 +0200 |
| commit | f6be8f2cdbcb9c8329ad48c392387ea052ff8b0d (patch) | |
| tree | 87f459db00db68f795780c85dd2eb51a811f2f2a /src | |
| parent | fa899ecfc1a1e35bc577b3995211da280034eef6 (diff) | |
Fix boost bind warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ssa_reader.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 <boost/algorithm/string.hpp> -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #include <iostream> #include <vector> @@ -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 */ |
