mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-24 12:16:24 -06:00
Add virtual destructor to base class.
This commit is contained in:
parent
037367bb03
commit
6b6daa228a
@ -156,6 +156,7 @@ namespace Opm
|
|||||||
struct Reorderer
|
struct Reorderer
|
||||||
{
|
{
|
||||||
virtual std::size_t operator[](std::size_t i) const = 0;
|
virtual std::size_t operator[](std::size_t i) const = 0;
|
||||||
|
virtual ~Reorderer() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NoReorderer : public Reorderer
|
struct NoReorderer : public Reorderer
|
||||||
|
Loading…
Reference in New Issue
Block a user