diff options
author | B. Stack <bgstack15@gmail.com> | 2022-02-07 00:18:30 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-02-07 00:18:30 +0000 |
commit | 4cba562d787bfc92aeadbbc2ef199d4856523247 (patch) | |
tree | 374c62790fde0ce5514ef56750d0ff023d61b528 /zen/stl_tools.h | |
parent | Merge branch 'b11.16' into 'master' (diff) | |
parent | add upstream 11.17 (diff) | |
download | FreeFileSync-4cba562d787bfc92aeadbbc2ef199d4856523247.tar.gz FreeFileSync-4cba562d787bfc92aeadbbc2ef199d4856523247.tar.bz2 FreeFileSync-4cba562d787bfc92aeadbbc2ef199d4856523247.zip |
Merge branch 'b11.17' into 'master'11.17
add upstream 11.17
See merge request opensource-tracking/FreeFileSync!41
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r-- | zen/stl_tools.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename std::iterator_traits<Iterator>::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 |