aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-05 10:47:39 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-05 10:47:39 +0200
commitf2a70d0cfe95de89dbc2b85aedec1f985891c459 (patch)
treeebe6f8c0a601306ee0d79c3c31fdafb9ea1a3499
parente6af6434faae9812763dc0064450eb7c34a38fd6 (diff)
downloaddabmux-f2a70d0cfe95de89dbc2b85aedec1f985891c459.tar.gz
dabmux-f2a70d0cfe95de89dbc2b85aedec1f985891c459.tar.bz2
dabmux-f2a70d0cfe95de89dbc2b85aedec1f985891c459.zip
Suppress boost deprecation warning
-rw-r--r--src/ManagementServer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ManagementServer.h b/src/ManagementServer.h
index 12f5ad6..6e39922 100644
--- a/src/ManagementServer.h
+++ b/src/ManagementServer.h
@@ -58,6 +58,10 @@
#include <deque>
#include <thread>
#include <mutex>
+
+// Suppress an deprecation warning from boost
+#define BOOST_BIND_GLOBAL_PLACEHOLDERS
+
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <cmath>