Skip to content
Snippets Groups Projects
Commit fd51159b authored by Tom Fischer's avatar Tom Fischer
Browse files

[MaL] Prevent compiler from implicit conversion constructor args.

parent ba093922
No related branches found
No related tags found
No related merge requests found
......@@ -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() {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment