diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-11-07 15:49:37 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-11-07 16:07:18 +0700 |
commit | 44af976a44bc194b985fdb880f99a7feff133b5a (patch) | |
tree | 400fb651d819c41e26b417d36a4315ec947fd387 /system/include/libcxx/numeric | |
parent | 7f870cf9c357f6a1138ba612ace7d7249f85e250 (diff) |
Update libcxx to 194185, 2013-11-07.
This brings C++14 support.
Diffstat (limited to 'system/include/libcxx/numeric')
-rw-r--r-- | system/include/libcxx/numeric | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/include/libcxx/numeric b/system/include/libcxx/numeric index c201a5f5..e520c8e0 100644 --- a/system/include/libcxx/numeric +++ b/system/include/libcxx/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; |