summaryrefslogtreecommitdiffstats
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm8
1 files changed, 1 insertions, 7 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index 4909221bb09..4789b0bb2a1 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -1659,13 +1659,7 @@ move_backward(_BidirectionalIterator1 __first, _BidirectionalIterator1 __last,
// iter_swap
-template <class _ForwardIterator1, class _ForwardIterator2>
-inline _LIBCPP_INLINE_VISIBILITY
-void
-iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
-{
- swap(*__a, *__b);
-}
+// moved to <type_traits> for better swap / noexcept support
// transform
OpenPOWER on IntegriCloud