modernize C++: move from boost::bind to std::bind

This commit is contained in:
wmayer
2023-08-08 14:19:00 +02:00
committed by wwmayer
parent 7bb6f48dbd
commit 68d22d864b
64 changed files with 279 additions and 266 deletions

View File

@@ -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()