modernize C++: move from boost::bind to std::bind
This commit is contained in:
@@ -108,9 +108,9 @@ void TextDocumentEditorView::setupEditor()
|
||||
void TextDocumentEditorView::setupConnection()
|
||||
{
|
||||
textConnection = textDocument->connectText(
|
||||
boost::bind(&TextDocumentEditorView::sourceChanged, this));
|
||||
std::bind(&TextDocumentEditorView::sourceChanged, this));
|
||||
labelConnection = textDocument->connectLabel(
|
||||
boost::bind(&TextDocumentEditorView::labelChanged, this));
|
||||
std::bind(&TextDocumentEditorView::labelChanged, this));
|
||||
}
|
||||
|
||||
void TextDocumentEditorView::sourceChanged()
|
||||
|
||||
Reference in New Issue
Block a user