-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
It would be good if the header was compatible with -Wshadow
. It has one error:
nssv_constexpr explicit not_in_view( basic_string_view v ) : v( v ) {}
string_view.hpp:858:68: warning: declaration of ‘v’ shadows a member of ‘nonstd::sv_lite::basic_string_view<CharT, Traits>::not_in_view’ [-Wshadow]
The local argument just needs to be changed:
nssv_constexpr explicit not_in_view( basic_string_view view ) : v( view ) {}
Metadata
Metadata
Assignees
Labels
No labels