mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
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 <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
# include <functional>
|
||||
using namespace std::placeholders;
|
||||
#else
|
||||
# define BOOST_BIND_GLOBAL_PLACEHOLDERS 1
|
||||
# include <boost/bind.hpp>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user