Skip to content

Commit 83c36a4

Browse files
facontidavideclaude
andcommitted
Remove redundant default member initializer from DelayNode
Fixes clang-tidy warning cppcoreguidelines-use-default-member-init. Now matches the pattern used by TimeoutNode: no default in header, explicit initialization in both constructors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 66a60fa commit 83c36a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/decorators/delay_node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class DelayNode : public DecoratorNode
6767
std::atomic_bool delay_complete_ = false;
6868
bool delay_aborted_ = false;
6969
unsigned msec_;
70-
bool read_parameter_from_ports_ = false;
70+
bool read_parameter_from_ports_;
7171
std::mutex delay_mutex_;
7272
};
7373

0 commit comments

Comments
 (0)