boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated

This commit is contained in:
wmayer
2020-06-09 12:55:29 +02:00
committed by wwmayer
parent 88fd77b31d
commit 730154a684
112 changed files with 451 additions and 390 deletions

View File

@@ -24,7 +24,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/bind.hpp>
# include <boost/bind/bind.hpp>
#endif
#include "DocumentObjectGroup.h"
@@ -37,6 +37,7 @@
#include <Base/Tools.h>
using namespace App;
namespace bp = boost::placeholders;
EXTENSION_PROPERTY_SOURCE(App::GroupExtension, App::DocumentObjectExtension)
@@ -362,7 +363,7 @@ void GroupExtension::extensionOnChanged(const Property* p) {
for(auto obj : Group.getValue()) {
if(obj && obj->getNameInDocument()) {
_Conns[obj] = obj->signalChanged.connect(boost::bind(
&GroupExtension::slotChildChanged,this,_1,_2));
&GroupExtension::slotChildChanged,this,bp::_1, bp::_2));
}
}
}