Make all array constructors explicit (#99)

* Make all array constructors explicit

to avoid accidental implicit casts like e.g.
Vector3f v = 0;
assigning nullpointer content.
This commit is contained in:
Matthias Grob
2019-10-03 13:38:51 +02:00
committed by Julian Kent
parent 7b34c1c51d
commit 740324cf1e
9 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ public:
{
}
Vector(const Type data_[M]) :
explicit Vector(const Type data_[M]) :
MatrixM1(data_)
{
}