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

[MaL] Avoid warn about defi. of impl. copy constr.

Clang reports:
warning: definition of implicit copy constructor for 'TemplatePoint<double, 3>'
is deprecated because it has a user-declared destructor [-Wdeprecated]
parent a65f4905
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
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