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 f8493e5 commit 915732dCopy full SHA for 915732d
include/behaviortree_cpp/blackboard.h
@@ -34,7 +34,7 @@ template <typename T, typename A>
34
struct is_vector<std::vector<T, A>> : std::true_type {};
35
36
// Helper function to check if a demangled type string is a std::vector<..>
37
-inline bool isVector(std::string type_name)
+inline bool isVector(const std::string& type_name)
38
{
39
return std::regex_match(type_name, std::regex(R"(^std::vector<.*>$)"));
40
}
0 commit comments