Add virtual destructor to base class.

This commit is contained in:
Atgeirr Flø Rasmussen 2019-01-21 15:05:05 +01:00
parent 037367bb03
commit 6b6daa228a

View File

@ -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