double assignation of the same thing

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
monroegm-disable-blank-issue-2
Esteban Papp 4 years ago
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;

Loading…
Cancel
Save