F.10: small code fix

pull/2031/head
Sergey 3 years ago committed by GitHub
parent 6d912e8b51
commit 31bb3d1b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2908,7 +2908,7 @@ There is a useful function lurking here (case insensitive string comparison), as
}
auto x = find_if(vr.begin(), vr.end(),
[&](Rec& r) { compare_insensitive(r.name, n); }
[&](Rec& r) { return compare_insensitive(r.name, n); }
);
Or maybe (if you prefer to avoid the implicit name binding to n):

Loading…
Cancel
Save