Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Oct 13, 2023
1 parent 0d29cf5 commit 115d452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/behaviortree_cpp/basic_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ inline StringConverter GetAnyFromStringFunctor<void>()
template<typename T> [[nodiscard]]
std::string toStr(const T& value)
{
if constexpr (std::is_convertible_v<T, std::string> or
if constexpr (std::is_convertible_v<T, std::string> ||
std::is_convertible_v<T, std::string_view>)
{
return value;
Expand Down

0 comments on commit 115d452

Please sign in to comment.