mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 09:33:34 +08:00
Explicit constructors
This commit is contained in:
@@ -74,7 +74,7 @@ protected:
|
||||
INode& node_;
|
||||
uint32_t failure_count_;
|
||||
|
||||
GenericSubscriberBase(INode& node)
|
||||
explicit GenericSubscriberBase(INode& node)
|
||||
: node_(node)
|
||||
, failure_count_(0)
|
||||
{ }
|
||||
|
||||
Reference in New Issue
Block a user