Skip to content

Commit 8d799eb

Browse files
committed
Change friend class to friend struct in c_str_proxy
This resolves an inconsistency with the declaration of `basic_string_view`
1 parent dc7352c commit 8d799eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/daw/daw_string_view.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ namespace daw {
462462
};
463463
std::variant<buff_t, std::basic_string<CharT>> m_str{ };
464464

465-
friend class basic_string_view<CharT>;
465+
friend struct basic_string_view<CharT>;
466466

467467
DAW_CPP20_CX_ALLOC c_str_proxy( CharT const *str, std::size_t N,
468468
zero_terminated_t ) noexcept

0 commit comments

Comments
 (0)