forked from qt-creator/qt-creator
Do not pass Utils::LinkHandler by rvalue ref
There is nothing special about this type that justifies it sticking out everywhere it appears. Change-Id: Iccdc95163d477db8a031d0d520f28fea26432a44 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1631,18 +1631,18 @@ TextEditor::BaseHoverHandler *CppModelManager::createHoverHandler() const
|
||||
}
|
||||
|
||||
void CppModelManager::followSymbol(const CursorInEditor &data,
|
||||
Utils::LinkHandler &&processLinkCallback,
|
||||
const Utils::LinkHandler &processLinkCallback,
|
||||
bool resolveTarget, bool inNextSplit, Backend backend)
|
||||
{
|
||||
instance()->modelManagerSupport(backend)->followSymbol(data, std::move(processLinkCallback),
|
||||
instance()->modelManagerSupport(backend)->followSymbol(data, processLinkCallback,
|
||||
resolveTarget, inNextSplit);
|
||||
}
|
||||
|
||||
void CppModelManager::switchDeclDef(const CursorInEditor &data,
|
||||
Utils::LinkHandler &&processLinkCallback,
|
||||
const Utils::LinkHandler &processLinkCallback,
|
||||
Backend backend)
|
||||
{
|
||||
instance()->modelManagerSupport(backend)->switchDeclDef(data, std::move(processLinkCallback));
|
||||
instance()->modelManagerSupport(backend)->switchDeclDef(data, processLinkCallback);
|
||||
}
|
||||
|
||||
Core::ILocatorFilter *CppModelManager::createAuxiliaryCurrentDocumentFilter()
|
||||
|
Reference in New Issue
Block a user