We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a28df0f commit 0b71d52Copy full SHA for 0b71d52
1 file changed
include/behaviortree_cpp/tree_node.h
@@ -378,6 +378,7 @@ inline Result TreeNode::getInput(const std::string& key, T& destination) const
378
// address the special case where T is an enum
379
auto ParseString = [this](const std::string& str) -> T
380
{
381
+ (void)this; // maybe unused
382
if constexpr (std::is_enum_v<T> && !std::is_same_v<T, NodeStatus>)
383
384
auto it = config().enums->find(str);
0 commit comments