mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-24 05:16:27 -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
|
||||
{
|
||||
virtual std::size_t operator[](std::size_t i) const = 0;
|
||||
virtual ~Reorderer() {}
|
||||
};
|
||||
|
||||
struct NoReorderer : public Reorderer
|
||||
|
Loading…
Reference in New Issue
Block a user