diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:07:56 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:07:56 +0000 |
commit | f36202620b428c45a1c8d91743727c9313424fb2 (patch) | |
tree | 14928d8970ba4890a6370aca4c38fc832d45f21f /include/experimental/propagate_const | |
parent | 0294ba5648d889e48ffee8ddad25944e258940ae (diff) | |
download | src-f36202620b428c45a1c8d91743727c9313424fb2.tar.gz src-f36202620b428c45a1c8d91743727c9313424fb2.zip |
Notes
Diffstat (limited to 'include/experimental/propagate_const')
-rw-r--r-- | include/experimental/propagate_const | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/experimental/propagate_const b/include/experimental/propagate_const index e7f7e9fc6831..188548596b84 100644 --- a/include/experimental/propagate_const +++ b/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> |