Skip to content
Snippets Groups Projects
Commit 8665a8cb authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Give LocalIntegralEnergy a virtual destructor

It has other virtual methods, and therefore needs a
virtual destructor, too.
parent 4531c499
No related branches found
No related tags found
1 merge request!27Give LocalIntegralEnergy a virtual destructor
Pipeline #28277 passed
......@@ -31,6 +31,10 @@ public:
: localDensity_(ld)
{}
/** \brief Virtual destructor */
virtual ~LocalIntegralEnergy()
{}
/** \brief Assemble the energy for a single element */
field_type energy (const Entity& e,
const LocalFiniteElement& localFiniteElement,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment