mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 01:53:35 +08:00
constructors use array size rather than pointers
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
Vector2(const Type *data_) :
|
||||
Vector2(const Type data_[2]) :
|
||||
Vector<Type, 2>(data_)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user