Skip to content
Snippets Groups Projects
Commit cdbf6990 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Add missing default virtual destructor

parent 6daf6084
No related branches found
No related tags found
No related merge requests found
Pipeline #3085 failed
......@@ -22,6 +22,12 @@ public:
energy (const typename Basis::LocalView& localView,
const std::vector<TargetSpace>& localSolution) const = 0;
/** Empty virtual default destructor
*
* To allow proper destruction of derived classes through a base class pointer
*/
virtual ~LocalEnergy() = default;
};
} // namespace GFE
......
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