mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
fix equal: empty range check
This commit is contained in:
parent
e01c9ef98d
commit
2191429a9b
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ namespace sprout {
|
||||||
{
|
{
|
||||||
return sprout::distance(first1, last1) == sprout::distance(first2, last2)
|
return sprout::distance(first1, last1) == sprout::distance(first2, last2)
|
||||||
&& (
|
&& (
|
||||||
sprout::distance(first1, last1) == 0
|
first1 == last1
|
||||||
|| sprout::detail::equal_impl_ra(
|
|| sprout::detail::equal_impl_ra(
|
||||||
first1, last1, first2, pred,
|
first1, last1, first2, pred,
|
||||||
sprout::distance(first1, last1) / 2
|
sprout::distance(first1, last1) / 2
|
||||||
|
|
Loading…
Reference in a new issue