From a09b2cc242ec8802e6a75c6b2111d33b0d819e4c Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Mon, 3 Mar 2025 21:24:55 +0100 Subject: [PATCH] Disable deprecation warning for old boost There are a few version of boost which deprecated global placeholders but do not yet support std placeholders. Simply suppress warning for those cases. Signed-off-by: Ralph Sennhauser --- source/third_party/jsonspirit/json_spirit_reader_template.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/third_party/jsonspirit/json_spirit_reader_template.h b/source/third_party/jsonspirit/json_spirit_reader_template.h index f391ea1333..083b658db3 100644 --- a/source/third_party/jsonspirit/json_spirit_reader_template.h +++ b/source/third_party/jsonspirit/json_spirit_reader_template.h @@ -22,6 +22,7 @@ # include using namespace std::placeholders; #else +# define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 # include #endif