boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include <QDir>
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/bind/bind.hpp>
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
#include <CXX/Objects.hxx>
|
||||
@@ -55,6 +55,7 @@ FC_LOG_LEVEL_INIT("PropertyLinks",true,true)
|
||||
using namespace App;
|
||||
using namespace Base;
|
||||
using namespace std;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
//**************************************************************************
|
||||
//**************************************************************************
|
||||
@@ -2573,11 +2574,11 @@ public:
|
||||
myPath = myPos->first.toUtf8().constData();
|
||||
App::Application &app = App::GetApplication();
|
||||
connFinishRestoreDocument = app.signalFinishRestoreDocument.connect(
|
||||
boost::bind(&DocInfo::slotFinishRestoreDocument,this,_1));
|
||||
boost::bind(&DocInfo::slotFinishRestoreDocument,this,bp::_1));
|
||||
connDeleteDocument = app.signalDeleteDocument.connect(
|
||||
boost::bind(&DocInfo::slotDeleteDocument,this,_1));
|
||||
boost::bind(&DocInfo::slotDeleteDocument,this,bp::_1));
|
||||
connSaveDocument = app.signalSaveDocument.connect(
|
||||
boost::bind(&DocInfo::slotSaveDocument,this,_1));
|
||||
boost::bind(&DocInfo::slotSaveDocument,this,bp::_1));
|
||||
|
||||
QString fullpath(getFullPath());
|
||||
if(fullpath.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user