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 3f212ad8ac
commit 4ec45b545e
112 changed files with 451 additions and 390 deletions

View File

@@ -28,7 +28,7 @@
#include <QColorDialog>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include "ui_TaskElementColors.h"
@@ -52,6 +52,7 @@
FC_LOG_LEVEL_INIT("Gui",true,true)
using namespace Gui;
namespace bp = boost::placeholders;
class ElementColors::Private: public Gui::SelectionGate
{
@@ -323,9 +324,9 @@ ElementColors::ElementColors(ViewProviderDocumentObject* vp, bool noHide)
Selection().addSelectionGate(d,0);
d->connectDelDoc = Application::Instance->signalDeleteDocument.connect(boost::bind
(&ElementColors::slotDeleteDocument, this, _1));
(&ElementColors::slotDeleteDocument, this, bp::_1));
d->connectDelObj = Application::Instance->signalDeletedObject.connect(boost::bind
(&ElementColors::slotDeleteObject, this, _1));
(&ElementColors::slotDeleteObject, this, bp::_1));
d->populate();
}