mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 05:23:34 +08:00
Some constructors made explicit
This commit is contained in:
@@ -42,7 +42,7 @@ class GlobalTimeSyncSlave : Noncopyable
|
||||
void handleGlobalTimeSync(const ReceivedDataStructure<protocol::GlobalTimeSync>& msg);
|
||||
|
||||
public:
|
||||
GlobalTimeSyncSlave(INode& node)
|
||||
explicit GlobalTimeSyncSlave(INode& node)
|
||||
: sub_(node)
|
||||
, state_(Update)
|
||||
, prev_iface_index_(0xFF)
|
||||
|
||||
Reference in New Issue
Block a user