summaryrefslogtreecommitdiff
path: root/src/ssa_reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssa_reader.cc')
-rw-r--r--src/ssa_reader.cc5
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 */