Skip to content

Commit 4017f04

Browse files
authored
Remove unnecessary _LIBCPP_STRING_INTERNAL_MEMORY_ACCESS (#79574)
This macro is unnecessary with `basic_string& operator=(value_type __c)`.
1 parent e37a600 commit 4017f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/string

+1-1
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ public:
11381138
#if _LIBCPP_STD_VER >= 23
11391139
basic_string& operator=(nullptr_t) = delete;
11401140
#endif
1141-
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_STRING_INTERNAL_MEMORY_ACCESS basic_string& operator=(value_type __c);
1141+
_LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string& operator=(value_type __c);
11421142

11431143
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 iterator begin() _NOEXCEPT {
11441144
return __make_iterator(__get_pointer());

0 commit comments

Comments
 (0)