Thanks to visit codestin.com Credit goes to github.com
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 2a55640 commit 6eb645eCopy full SHA for 6eb645e
include/behaviortree_cpp/basic_types.h
@@ -127,6 +127,8 @@ std::string toStr(T value)
127
return std::to_string(value);
128
}
129
130
+std::string toStr(std::string value);
131
+
132
template<> std::string toStr<BT::NodeStatus>(BT::NodeStatus status);
133
134
/**
src/basic_types.cpp
@@ -22,6 +22,11 @@ std::string toStr<NodeStatus>(NodeStatus status)
22
return "";
23
24
25
+std::string toStr(std::string value)
26
+{
27
+ return value;
28
+}
29
30
std::string toStr(NodeStatus status, bool colored)
31
{
32
if (!colored)
0 commit comments