boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
# include <QPainter>
|
||||
# include <QPointer>
|
||||
# include <QTextStream>
|
||||
# include <boost/bind.hpp>
|
||||
# include <boost/bind/bind.hpp>
|
||||
#endif
|
||||
|
||||
#include "Command.h"
|
||||
@@ -93,6 +93,7 @@
|
||||
|
||||
using namespace Gui;
|
||||
using Gui::Dialog::DlgSettingsImageImp;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
@@ -585,7 +586,7 @@ StdCmdDrawStyle::StdCmdDrawStyle()
|
||||
sPixmap = "DrawStyleAsIs";
|
||||
eType = Alter3DView;
|
||||
|
||||
this->getGuiApplication()->signalActivateView.connect(boost::bind(&StdCmdDrawStyle::updateIcon, this, _1));
|
||||
this->getGuiApplication()->signalActivateView.connect(boost::bind(&StdCmdDrawStyle::updateIcon, this, bp::_1));
|
||||
}
|
||||
|
||||
Gui::Action * StdCmdDrawStyle::createAction(void)
|
||||
|
||||
Reference in New Issue
Block a user