Fix warnings about placeholders from newer boost versions (1.74, or maybe earlier). osx-warnings
authorCarl Hetherington <cth@carlh.net>
Tue, 20 Oct 2020 19:12:52 +0000 (21:12 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 20 Oct 2020 19:12:52 +0000 (21:12 +0200)
src/lib/encode_server_finder.cc

index 1c612025733f9f95a3232394c7eceb843df529ab..6444964e4da80387bb1db55d0a3de65988fdf2e1 100644 (file)
 #include "dcpomatic_socket.h"
 #include <dcp/raw_convert.h>
 #include <libcxml/cxml.h>
+#if BOOST_VERSION >= 107400
 #include <boost/bind/placeholders.hpp>
+#else
+#include <boost/bind/bind.hpp>
+#endif
 #include <boost/lambda/lambda.hpp>
 #include <iostream>