Skip to content

Commit 915732d

Browse files
dyackzannbbrooks
andauthored
Update include/behaviortree_cpp/blackboard.h
Co-authored-by: Nathan Brooks <[email protected]>
1 parent f8493e5 commit 915732d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/blackboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ template <typename T, typename A>
3434
struct is_vector<std::vector<T, A>> : std::true_type {};
3535

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

0 commit comments

Comments
 (0)