Skip to content

Commit 36d918e

Browse files
committed
fix
1 parent 4377fbc commit 36d918e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/basic_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ inline StringConverter GetAnyFromStringFunctor<void>()
158158
template<typename T> [[nodiscard]]
159159
std::string toStr(const T& value)
160160
{
161-
if constexpr (std::is_convertible_v<T, std::string> or
161+
if constexpr (std::is_convertible_v<T, std::string> ||
162162
std::is_convertible_v<T, std::string_view>)
163163
{
164164
return value;

0 commit comments

Comments
 (0)