Commit 5ee81929 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by hjk

Fix clang compilation

Was broken in 12103e0f

Change-Id: I28ce266f609a232bf1ed99bb044ffc6a3b561d57
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 6e9b7240
......@@ -55,6 +55,8 @@
#include <texteditor/texteditorsettings.h>
#include <texteditor/completionsettings.h>
#include <utils/algorithm.h>
#include <QCoreApplication>
#include <QDirIterator>
#include <QTextCursor>
......@@ -173,7 +175,7 @@ static QList<CodeCompletionResult> unfilteredCompletion(const ClangCompletionAss
}
QList<CodeCompletionResult> result = wrapper->codeCompleteAt(line, column + 1, unsavedFiles);
std::sort(result);
Utils::sort(result);
if (DebugTiming)
qDebug() << "... Completion done in" << t.elapsed() << "ms, with" << result.count() << "items.";
......
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