modernize C++: move from boost::bind to std::bind
This commit is contained in:
@@ -41,14 +41,14 @@
|
||||
using namespace SpreadsheetGui;
|
||||
using namespace Spreadsheet;
|
||||
using namespace App;
|
||||
namespace bp = boost::placeholders;
|
||||
namespace sp = std::placeholders;
|
||||
|
||||
SheetModel::SheetModel(Sheet* _sheet, QObject* parent) : QAbstractTableModel(parent), sheet(_sheet)
|
||||
{
|
||||
cellUpdatedConnection =
|
||||
sheet->cellUpdated.connect(bind(&SheetModel::cellUpdated, this, bp::_1));
|
||||
sheet->cellUpdated.connect(bind(&SheetModel::cellUpdated, this, sp::_1));
|
||||
rangeUpdatedConnection =
|
||||
sheet->rangeUpdated.connect(bind(&SheetModel::rangeUpdated, this, bp::_1));
|
||||
sheet->rangeUpdated.connect(bind(&SheetModel::rangeUpdated, this, sp::_1));
|
||||
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath(
|
||||
"User parameter:BaseApp/Preferences/Mod/Spreadsheet");
|
||||
|
||||
Reference in New Issue
Block a user