Skip to content
Snippets Groups Projects
Commit 18c0b264 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Provide a virtual destructor

parent 7c1e6f04
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
namespace Dune { namespace Dune {
class NiceFunction : public VirtualFunction<double, double> { class NiceFunction : public VirtualFunction<double, double> {
public: public:
virtual ~NiceFunction() {}
virtual double leftDifferential(double s) const = 0; virtual double leftDifferential(double s) const = 0;
virtual double rightDifferential(double s) const = 0; virtual double rightDifferential(double s) const = 0;
}; };
......
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