double assignation of the same thing

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-09-03 20:38:33 -07:00
parent 52607ce2c0
commit c6593bbdd3
@@ -831,7 +831,6 @@ namespace AZStd
// find first element that value is before, using operator<
typename iterator_traits<ForwardIterator>::difference_type count = AZStd::distance(first, last);
typename iterator_traits<ForwardIterator>::difference_type step{};
count = AZStd::distance(first, last);
for (; 0 < count; )
{ // divide and conquer, find half that contains answer
step = count / 2;