summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2021-03-25 18:47:48 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2021-03-25 18:47:48 +0100
commitd9e6f53fad91ef2a8a2f7a6dd1776c2b779f34af (patch)
tree084946a4aa7f8ad72e0630a90fc22db879891ac1
parent695586b02a9bf5e79c3e0865c9f1006595e15071 (diff)
silence warnings of newer boost in json parser
Change-Id: Icfbd31cb08c994c494758dcd86b72ea68b4f54b0
-rw-r--r--src/lib/CDRParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp
index 299673a..5b11d75 100644
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -17,6 +17,9 @@
#ifndef BOOST_ALL_NO_LIB
#define BOOST_ALL_NO_LIB 1
#endif
+#ifndef BOOST_BIND_GLOBAL_PLACEHOLDERS
+#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1
+#endif
#include <boost/algorithm/string.hpp>
#include <boost/optional.hpp>
#include <boost/property_tree/json_parser.hpp>