Skip to content

Commit f3dbcc5

Browse files
Merge pull request #682 from sidyhe/pr
clang: fix warning
2 parents 0a5686e + 0b71d52 commit f3dbcc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/behaviortree_cpp/tree_node.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ inline Result TreeNode::getInput(const std::string& key, T& destination) const
378378
// address the special case where T is an enum
379379
auto ParseString = [this](const std::string& str) -> T
380380
{
381+
(void)this; // maybe unused
381382
if constexpr (std::is_enum_v<T> && !std::is_same_v<T, NodeStatus>)
382383
{
383384
auto it = config().enums->find(str);

0 commit comments

Comments
 (0)