[libc++] Add missing space in (__map_value_compare&__y) etc. NFCI.
NOKEYCHECK=True
GitOrigin-RevId: c5e7981aec37dd0bc5c893158c1a703b1b1de6d1
diff --git a/include/__memory/pointer_traits.h b/include/__memory/pointer_traits.h
index 00484b5..b356092 100644
--- a/include/__memory/pointer_traits.h
+++ b/include/__memory/pointer_traits.h
@@ -184,7 +184,7 @@
struct __to_address_helper {
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
static decltype(_VSTD::__to_address(declval<const _Pointer&>().operator->()))
- __call(const _Pointer&__p) _NOEXCEPT {
+ __call(const _Pointer& __p) _NOEXCEPT {
return _VSTD::__to_address(__p.operator->());
}
};
@@ -193,7 +193,7 @@
struct __to_address_helper<_Pointer, decltype((void)pointer_traits<_Pointer>::to_address(declval<const _Pointer&>()))> {
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
static decltype(pointer_traits<_Pointer>::to_address(declval<const _Pointer&>()))
- __call(const _Pointer&__p) _NOEXCEPT {
+ __call(const _Pointer& __p) _NOEXCEPT {
return pointer_traits<_Pointer>::to_address(__p);
}
};
diff --git a/include/map b/include/map
index 3c2b6ff..1ffb5a0 100644
--- a/include/map
+++ b/include/map
@@ -535,7 +535,7 @@
_LIBCPP_INLINE_VISIBILITY
bool operator()(const _Key& __x, const _CP& __y) const
{return static_cast<const _Compare&>(*this)(__x, __y.__get_value().first);}
- void swap(__map_value_compare&__y)
+ void swap(__map_value_compare& __y)
_NOEXCEPT_(__is_nothrow_swappable<_Compare>::value)
{
using _VSTD::swap;
@@ -583,7 +583,7 @@
_LIBCPP_INLINE_VISIBILITY
bool operator()(const _Key& __x, const _CP& __y) const
{return comp(__x, __y.__get_value().first);}
- void swap(__map_value_compare&__y)
+ void swap(__map_value_compare& __y)
_NOEXCEPT_(__is_nothrow_swappable<_Compare>::value)
{
using _VSTD::swap;
diff --git a/include/unordered_map b/include/unordered_map
index a0c1c55..969e673 100644
--- a/include/unordered_map
+++ b/include/unordered_map
@@ -478,7 +478,7 @@
size_t operator()(const _K2& __x) const
{return static_cast<const _Hash&>(*this)(__x);}
#endif
- void swap(__unordered_map_hasher&__y)
+ void swap(__unordered_map_hasher& __y)
_NOEXCEPT_(__is_nothrow_swappable<_Hash>::value)
{
using _VSTD::swap;
@@ -513,7 +513,7 @@
size_t operator()(const _K2& __x) const
{return __hash_(__x);}
#endif
- void swap(__unordered_map_hasher&__y)
+ void swap(__unordered_map_hasher& __y)
_NOEXCEPT_(__is_nothrow_swappable<_Hash>::value)
{
using _VSTD::swap;
@@ -574,7 +574,7 @@
bool operator()(const _K2& __x, const _Key& __y) const
{return static_cast<const _Pred&>(*this)(__x, __y);}
#endif
- void swap(__unordered_map_equal&__y)
+ void swap(__unordered_map_equal& __y)
_NOEXCEPT_(__is_nothrow_swappable<_Pred>::value)
{
using _VSTD::swap;
@@ -624,7 +624,7 @@
bool operator()(const _K2& __x, const _Key& __y) const
{return __pred_(__x, __y);}
#endif
- void swap(__unordered_map_equal&__y)
+ void swap(__unordered_map_equal& __y)
_NOEXCEPT_(__is_nothrow_swappable<_Pred>::value)
{
using _VSTD::swap;