From 456d09b833e71c4971e9a652ec02ccbd6f2f3bab Mon Sep 17 00:00:00 2001 From: Alberto Soragna Date: Sun, 12 Dec 2021 09:18:12 +0000 Subject: [PATCH] fix shadowed variable in string_view.hpp Signed-off-by: Alberto Soragna --- include/behaviortree_cpp_v3/utils/string_view.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/behaviortree_cpp_v3/utils/string_view.hpp b/include/behaviortree_cpp_v3/utils/string_view.hpp index aa52d94ee..2cf140ea6 100644 --- a/include/behaviortree_cpp_v3/utils/string_view.hpp +++ b/include/behaviortree_cpp_v3/utils/string_view.hpp @@ -877,7 +877,7 @@ nssv_DISABLE_MSVC_WARNINGS( 4455 26481 26472 ) { const basic_string_view v; - nssv_constexpr explicit not_in_view( basic_string_view v ) : v( v ) {} + nssv_constexpr explicit not_in_view( basic_string_view view ) : v( view ) {} nssv_constexpr bool operator()( CharT c ) const {