mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add virtual destructor to class with virtual members
This commit is contained in:
parent
0137bd566c
commit
48344facd4
@ -51,6 +51,9 @@ namespace Opm {
|
|||||||
class Check
|
class Check
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
/// Virtual destructor since class has virtual functions
|
||||||
|
virtual ~Check() = default;
|
||||||
|
|
||||||
/// Run specific check against a set of saturation function end-points.
|
/// Run specific check against a set of saturation function end-points.
|
||||||
///
|
///
|
||||||
/// \param[in] endPoints Set of saturation function end-points.
|
/// \param[in] endPoints Set of saturation function end-points.
|
||||||
|
Loading…
Reference in New Issue
Block a user