We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4377fbc commit 36d918eCopy full SHA for 36d918e
include/behaviortree_cpp/basic_types.h
@@ -158,7 +158,7 @@ inline StringConverter GetAnyFromStringFunctor<void>()
158
template<typename T> [[nodiscard]]
159
std::string toStr(const T& value)
160
{
161
- if constexpr (std::is_convertible_v<T, std::string> or
+ if constexpr (std::is_convertible_v<T, std::string> ||
162
std::is_convertible_v<T, std::string_view>)
163
164
return value;
0 commit comments