Commit 1834dcf8 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Merge branch 'add-virtual-destructor' into 'master'

Give LocalIntegralEnergy a virtual destructor

See merge request agnumpde/dune-elasticity!27
parents 4531c499 8665a8cb
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment