# HG changeset patch # User Chris Cannam # Date 1539278790 -3600 # Node ID 53fe33b00770c55d94068bd7ad3b7804bc4adbdf # Parent b9bfcb8cd5a1bfded9bf83a00a4c5f00dbdff770 Oops, typeof is not standard diff -r b9bfcb8cd5a1 -r 53fe33b00770 widgets/SubdividingMenu.cpp --- a/widgets/SubdividingMenu.cpp Wed Oct 10 14:50:47 2018 +0100 +++ b/widgets/SubdividingMenu.cpp Thu Oct 11 18:26:30 2018 +0100 @@ -85,7 +85,7 @@ return QString::localeAwareCompare(s1, s2) < 0; }; - set sortedEntries(comparator); + set sortedEntries(comparator); sortedEntries.insert(entries.begin(), entries.end()); for (auto j = sortedEntries.begin(); j != sortedEntries.end(); ++j) { @@ -180,7 +180,7 @@ auto comparator = [](QString s1, QString s2) -> bool { return QString::localeAwareCompare(s1, s2) < 0; }; - set sortedEntries(comparator); + set sortedEntries(comparator); for (auto i: m_pendingEntries) { sortedEntries.insert(i.first); }