Remove redundant iterator assignment detected by Marshall Clow

llvm-svn: 145265
This commit is contained in:
Howard Hinnant 2011-11-28 19:49:26 +00:00
parent 25d09c2209
commit 1c2c87c502

View File

@ -2328,10 +2328,7 @@ minmax_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __com
if (++__first != __last)
{
if (__comp(*__first, *__result.first))
{
__result.second = __result.first;
__result.first = __first;
}
else
__result.second = __first;
while (++__first != __last)