projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa899ec
)
Fix boost bind warning.
author
Carl Hetherington
<cth@carlh.net>
Wed, 14 Jul 2021 17:15:43 +0000
(19:15 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 14 Jul 2021 17:15:43 +0000
(19:15 +0200)
src/ssa_reader.cc
patch
|
blob
|
history
diff --git
a/src/ssa_reader.cc
b/src/ssa_reader.cc
index 4a9be0e28b0d4300aaa01b191cdfbb141103bc93..39b99d2e53e6e99c23418f956cf2300c8ebbb938 100644
(file)
--- 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 */