diff options
author | Robert <krzmbrzl@gmail.com> | 2020-09-12 14:25:19 +0300 |
---|---|---|
committer | Robert <krzmbrzl@gmail.com> | 2020-09-12 14:46:55 +0300 |
commit | b42100e129a561c68ce84b52a5e78b30c6e6fb3b (patch) | |
tree | f5343c063d37c2e801e607a1e642428712c496c6 /src/murmur/Server.cpp | |
parent | 59263838a7dcc7c80edde8165b86114d593823bf (diff) |
REFAC: Fix warning about boost bind
Compiling with Boost a somewhat recent version of Boost would produce
warnings about deprecated usage of boost::bind.
These have been fixed now.
The warning was
The practice of declaring the Bind placeholders (_1, _2, ...) in the
global namespace is deprecated. Please use
<boost/bind/bind.hpp> + using namespace boost::placeholders, or
define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
Fixes #4295
Diffstat (limited to 'src/murmur/Server.cpp')
-rw-r--r-- | src/murmur/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Server.cpp b/src/murmur/Server.cpp index d01dd31df..7d48b7267 100644 --- a/src/murmur/Server.cpp +++ b/src/murmur/Server.cpp @@ -36,7 +36,7 @@ #include <QtNetwork/QHostInfo> #include <QtNetwork/QSslConfiguration> -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #ifdef Q_OS_WIN # include <qos2.h> |