diff --git a/MathLib/TemplatePoint.h b/MathLib/TemplatePoint.h index 63024259530a863a3629d3fd6a9eb8e308bf4d42..a1bc263d0bb2adc46d440fb3ea659f8ccc6c94bf 100644 --- a/MathLib/TemplatePoint.h +++ b/MathLib/TemplatePoint.h @@ -42,12 +42,12 @@ public: * * @param x std::array containing the coordinates of the point */ - TemplatePoint(std::array<T,DIM> const& x); + explicit TemplatePoint(std::array<T,DIM> const& x); /** constructor - constructs a TemplatePoint object \param x values for three coordinates */ - TemplatePoint (T const* x); + explicit TemplatePoint (T const* x); /** virtual destructor */ virtual ~TemplatePoint() {}