QtAlgorithms is getting deprecated,
see http://www.mail-archive.com/development@qt-project.org/msg01603.html
Change-Id: I3d74510693a5144b536cf515077d870e380d47df
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
#include <QtCore/QXmlStreamReader>
+#include <algorithm>
+
#define STRINGIFY_INTERNAL(x) #x
#define STRINGIFY(x) STRINGIFY_INTERNAL(x)
#define STRING(s) static QString str##s(QLatin1String(STRINGIFY(s)))
context.append(msg);
}
if (cd.sortContexts())
- qSort(contextOrder);
+ std::sort(contextOrder.begin(), contextOrder.end());
QHash<QString, int> currentLine;
QString currentFile;