summaryrefslogtreecommitdiffstats
path: root/libcxx/include/experimental
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/experimental')
-rw-r--r--libcxx/include/experimental/propagate_const3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxx/include/experimental/propagate_const b/libcxx/include/experimental/propagate_const
index e7f7e9fc683..188548596b8 100644
--- a/libcxx/include/experimental/propagate_const
+++ b/libcxx/include/experimental/propagate_const
@@ -463,8 +463,7 @@ template <class _Tp>
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR void swap(propagate_const<_Tp>& __pc1, propagate_const<_Tp>& __pc2) _NOEXCEPT_(__is_nothrow_swappable<_Tp>::value)
{
- using _VSTD::swap;
- swap(_VSTD_LFTS_V2::get_underlying(__pc1), _VSTD_LFTS_V2::get_underlying(__pc2));
+ __pc1.swap(__pc2);
}
template <class _Tp>
OpenPOWER on IntegriCloud