Commit 2817a1b6 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Orgad Shaneh
Browse files

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's avatarOrgad Shaneh <orgads@gmail.com>
parent bf5c1cc4
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment