Commit a9be1d02 authored by Volker Krause's avatar Volker Krause

Fix build on FreeBSD

parent 441509a8
......@@ -209,7 +209,7 @@ static IataCode iataCodeForIataCodeFragment(const QStringList &fragments)
if (s.size() != 3) {
continue;
}
if (!std::all_of(s.begin(), s.end(), std::mem_fn(&QChar::isUpper))) {
if (!std::all_of(s.begin(), s.end(), [](const auto c) { return c.isUpper(); })) {
continue;
}
const IataCode searchCode{s};
......
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