forked from qt-creator/qt-creator
C++: Fix build of cplusplus-update-frontend
cplusplus-update-frontend.cpp:1667:22: error: 'qSort' was not declared
in this scope
Change-Id: I70a7401239765f6338b3c77187766333fc487f95
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
bf5c1cc4fb
commit
2817a1b639
@@ -44,6 +44,7 @@
|
||||
#include <cplusplus/Scope.h>
|
||||
#include <cplusplus/BackwardsScanner.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/changeset.h>
|
||||
|
||||
#include <iostream>
|
||||
@@ -1663,7 +1664,7 @@ void generateASTPatternBuilder_h(const QDir &cplusplusDir)
|
||||
}
|
||||
|
||||
QStringList classesList = classesSet.toList();
|
||||
qSort(classesList);
|
||||
Utils::sort(classesList);
|
||||
foreach (const QString &className, classesList) {
|
||||
const QString methodName = className.left(className.length() - 3);
|
||||
const QString elementName = className.left(className.length() - 7) + QLatin1String("AST");
|
||||
|
||||
Reference in New Issue
Block a user