forked from qt-creator/qt-creator
Clang: Limit the usage of qMakePair and std::make_pair
Change-Id: Ida094760023047ecb8ba29e60d5e81f766981b65 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -454,7 +454,7 @@ void ClangdFollowSymbol::Private::handleGotoImplementationResult(
|
||||
if (!sentinel)
|
||||
return;
|
||||
if (!name.isEmpty())
|
||||
symbolsToDisplay << qMakePair(prefix + name, link);
|
||||
symbolsToDisplay.push_back({prefix + name, link});
|
||||
pendingSymbolInfoRequests.removeOne(reqId);
|
||||
virtualFuncAssistProcessor->update();
|
||||
if (pendingSymbolInfoRequests.isEmpty() && pendingGotoDefRequests.isEmpty()
|
||||
|
||||
Reference in New Issue
Block a user