Skip to content

Commit

Permalink
Update include/behaviortree_cpp/blackboard.h
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Brooks <[email protected]>
  • Loading branch information
dyackzan and nbbrooks authored Oct 24, 2024
1 parent f8493e5 commit 915732d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/behaviortree_cpp/blackboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ template <typename T, typename A>
struct is_vector<std::vector<T, A>> : std::true_type {};

// Helper function to check if a demangled type string is a std::vector<..>
inline bool isVector(std::string type_name)
inline bool isVector(const std::string& type_name)
{
return std::regex_match(type_name, std::regex(R"(^std::vector<.*>$)"));
}
Expand Down

0 comments on commit 915732d

Please sign in to comment.