Commit a4b2c983 authored by Volker Krause's avatar Volker Krause

Compile with MSVC 2010

parent cc9b031f
......@@ -199,7 +199,7 @@ QString AuditLogUiController::logEntry(const QDateTime &dt) const
entries.push_back(e);
}
std::sort(entries.begin(), entries.end(), [](const Entry &lhs, const Entry &rhs) {
std::sort(entries.begin(), entries.end(), [](const Entry &lhs, const Entry &rhs) -> bool {
if (lhs.mode == rhs.mode)
return lhs.key < rhs.key;
return lhs.mode < rhs.mode;
......
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