diff --git a/stats/statsvariables.cpp b/stats/statsvariables.cpp index 7349c15dd..9042f5535 100644 --- a/stats/statsvariables.cpp +++ b/stats/statsvariables.cpp @@ -606,7 +606,7 @@ template auto pair_lower_bound(std::vector> &v, const T1 &value) { return std::lower_bound(v.begin(), v.end(), value, - [] (const std::pair &entry, const T1 &value) { + [] (const std::pair &entry, const T1 &value) { return entry.first < value; }); }