forked from qt-creator/qt-creator
make it compile with none gcc compilers
Change-Id: Ib8a49014ecb86db79517d34338b0b9db43bef1fd Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
48b12fe921
commit
3f25ed3bbf
@@ -73,7 +73,7 @@ QStandardItem *itemForClass(const CppClass &cppClass)
|
||||
QList<CppClass> sortClasses(const QList<CppClass> &cppClasses)
|
||||
{
|
||||
QList<CppClass> sorted = cppClasses;
|
||||
Utils::sort(sorted, [](const CppClass &c1, const CppClass &c2) {
|
||||
Utils::sort(sorted, [](const CppClass &c1, const CppClass &c2) -> bool {
|
||||
const QString key1 = c1.name + QLatin1String("::") + c1.qualifiedName;
|
||||
const QString key2 = c2.name + QLatin1String("::") + c2.qualifiedName;
|
||||
return key1 < key2;
|
||||
|
Reference in New Issue
Block a user