From f6b6d222dc1a79c95f6756c707c5fcc3a785c030 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 6 Feb 2022 16:41:53 -0500 Subject: add upstream 11.17 --- zen/stl_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zen/stl_tools.h') diff --git a/zen/stl_tools.h b/zen/stl_tools.h index e4cf2b5d..c2e8eff3 100644 --- a/zen/stl_tools.h +++ b/zen/stl_tools.h @@ -159,7 +159,7 @@ Iterator binarySearch(Iterator first, Iterator last, const T& value, CompLess le { static_assert(std::is_same_v::iterator_category, std::random_access_iterator_tag>); - first = std::lower_bound(first, last, value, less); + first = std::lower_bound(first, last, value, less); //alternative: std::partition_point if (first != last && !less(value, *first)) return first; else -- cgit