Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df73c99

Browse files
authored
fix shadowed variable in string_view.hpp (BehaviorTree#327)
Signed-off-by: Alberto Soragna <[email protected]>
1 parent 65e880e commit df73c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp_v3/utils/string_view.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ nssv_DISABLE_MSVC_WARNINGS( 4455 26481 26472 )
877877
{
878878
const basic_string_view v;
879879

880-
nssv_constexpr explicit not_in_view( basic_string_view v ) : v( v ) {}
880+
nssv_constexpr explicit not_in_view( basic_string_view view ) : v( view ) {}
881881

882882
nssv_constexpr bool operator()( CharT c ) const
883883
{

0 commit comments

Comments
 (0)