Skip to content

Commit 9e70fb2

Browse files
committed
Change sep to value parameter in join()
1 parent e3197be commit 9e70fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nonstd/string.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ replace_all( std17::basic_string_view<CharT> text, std17::basic_string_view<Char
14241424
#define string_MK_JOIN(CharT) \
14251425
template< typename Coll > \
14261426
string_nodiscard std::basic_string<CharT> \
1427-
join( Coll const & coll, std17::basic_string_view<CharT> const & sep ) \
1427+
join( Coll const & coll, std17::basic_string_view<CharT> sep ) \
14281428
{ \
14291429
std::basic_string<CharT> result{}; \
14301430
typename Coll::const_iterator const coll_begin = coll.cbegin(); \

0 commit comments

Comments
 (0)