Fixed a warning in BaseLib/ConfigTreeUtil.cpp
In BaseLib/ConfigTreeUtil.cpp, the include of #include <boost/bind.hpp>
is deprecated according to the warning message given below. The warning message suggests to replace #include <boost/bind.hpp>
with
#include <boost/bind/bind.hpp>
and to use using namespace boost::placeholders
. However, that include is not used at all. Therefore it is removed in the MR.
The warning message:
In file included from /usr/include/boost/bind.hpp:30,
from /home/wenqing/Code/ogs6/sources_test/BaseLib/ConfigTreeUtil.cpp:13,
from /home/wenqing/Code/build/ogs6_sources_test_release/BaseLib/CMakeFiles/BaseLib.dir/Unity/unity_0_cxx.cxx:4:
/usr/include/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.’