Fix Boost bind deprecation warning
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 30 Dec 2025 20:32:14 +0000 (21:32 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 31 Dec 2025 11:09:24 +0000 (12:09 +0100)
commit49277d8ecb5ed8bb72838e3e4f75ac08ced75207
tree4e6ffe2ff74b3d55348641600ac94ce6457be1af
parentb7f549dec6a3246e19f251e3e8e16ba2912a9be9
Fix Boost bind deprecation warning

Original warning:
boost/bind.hpp:36:1: note: ‘#pragma message: 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.’

Use <boost/bind/bind.hpp> with boost::placeholders for Boost 1.46+.
Fall back to <boost/bind.hpp> for Boost 1.44 (no deprecation warning in that version).
configlib/i2n_global_config.hpp