diff --git a/MathLib/TemplatePoint.h b/MathLib/TemplatePoint.h index 328ba9344e5abc2882d3145966cb6b5a1157e595..8ddcf5b7e49abe64b26f2abde401485dd0c871b2 100644 --- a/MathLib/TemplatePoint.h +++ b/MathLib/TemplatePoint.h @@ -46,7 +46,9 @@ public: explicit TemplatePoint(std::array<T,DIM> const& x); /** virtual destructor */ - virtual ~TemplatePoint() {} + virtual ~TemplatePoint() = default; + + TemplatePoint(TemplatePoint const& other) = default; /** \brief const access operator * The access to the point coordinates is like the access to a field. Code example: