Fix boost bind warning.
authorCarl Hetherington <cth@carlh.net>
Wed, 14 Jul 2021 17:15:43 +0000 (19:15 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 14 Jul 2021 17:15:43 +0000 (19:15 +0200)
src/ssa_reader.cc

index 4a9be0e28b0d4300aaa01b191cdfbb141103bc93..39b99d2e53e6e99c23418f956cf2300c8ebbb938 100644 (file)
@@ -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 */