mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 21:53:33 +08:00
Explicit constructors
This commit is contained in:
@@ -68,7 +68,7 @@ class UAVCAN_EXPORT CharArrayFormatter
|
||||
public:
|
||||
typedef ArrayType_ ArrayType;
|
||||
|
||||
CharArrayFormatter(ArrayType& array)
|
||||
explicit CharArrayFormatter(ArrayType& array)
|
||||
: array_(array)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user