diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-01-30 07:44:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-01-30 07:44:22 +0000 |
commit | 4f7ab58ee65f0525390478dea6beb0c50f2c96bb (patch) | |
tree | add3759d4df7ee10d814c3b2561c3c28fcd9cef2 /contrib/libc++/include/numeric | |
parent | 9a40e29377f31b724351a8fc492a132392c3e408 (diff) | |
parent | a5b2dbc259e289ea23fe9aebb34eba2c1dc7fefb (diff) |
Notes
Diffstat (limited to 'contrib/libc++/include/numeric')
-rw-r--r-- | contrib/libc++/include/numeric | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libc++/include/numeric b/contrib/libc++/include/numeric index c201a5f57cbbb..e520c8e0d7598 100644 --- a/contrib/libc++/include/numeric +++ b/contrib/libc++/include/numeric @@ -157,7 +157,7 @@ adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterat { typename iterator_traits<_InputIterator>::value_type __t2(*__first); *__result = __t2 - __t1; - __t1 = __t2; + __t1 = _VSTD::move(__t2); } } return __result; @@ -177,7 +177,7 @@ adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterat { typename iterator_traits<_InputIterator>::value_type __t2(*__first); *__result = __binary_op(__t2, __t1); - __t1 = __t2; + __t1 = _VSTD::move(__t2); } } return __result; |