mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-06 14:24:09 +00:00
fix iterator parameter
This commit is contained in:
parent
6e8b5ea395
commit
802f2fbaed
111 changed files with 607 additions and 633 deletions
|
@ -17,7 +17,7 @@ namespace sprout {
|
|||
namespace detail {
|
||||
template<typename ForwardIterator, typename T, typename Compare>
|
||||
inline SPROUT_CONSTEXPR bool
|
||||
binary_search_impl(ForwardIterator first, ForwardIterator last, T const& value, Compare comp) {
|
||||
binary_search_impl(ForwardIterator const& first, ForwardIterator const& last, T const& value, Compare comp) {
|
||||
return (first != last && !comp(value, *first));
|
||||
}
|
||||
} // namespace detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue