Skip to content
Snippets Groups Projects
Commit 808febfe authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[BUGFIX] added missing virtual dtor to base class

parent 97fd82d4
No related merge requests found
......@@ -48,6 +48,8 @@ namespace field {
{
public:
virtual ~FieldAllocator() = default;
/**
* \brief Allocate memory for a field of given sizes and initializes reference counter with one
*
......
......@@ -30,6 +30,7 @@ namespace geometry {
class AbstractBody {
public:
virtual ~AbstractBody() = default;
virtual bool contains (const Vector3<real_t> & point ) const = 0;
virtual FastOverlapResult fastOverlapCheck ( const Vector3<real_t> & cellMidpoint, real_t dx ) const = 0;
virtual FastOverlapResult fastOverlapCheck ( const AABB & box ) const = 0;
......
......@@ -52,6 +52,7 @@ public:
{
public:
DataSource( const std::string & _name ) : name_( _name ) { }
virtual ~DataSource() = default;
typedef T value_type;
virtual uint_t numComponents() = 0;
const std::string & name() { return name_; }
......@@ -67,6 +68,7 @@ public:
typedef typename VTKMeshWriter::Vertices Vertices;
VertexDataSource( const std::string & _name ) : DataSource<T>( _name ) { }
virtual ~VertexDataSource() = default;
virtual void getData( const MeshType &, const Vertices & vertices, std::vector<T> & ) = 0;
};
......@@ -78,6 +80,7 @@ public:
typedef typename VTKMeshWriter::Faces Faces;
FaceDataSource( const std::string & _name ) : DataSource<T>( _name ) { }
virtual ~FaceDataSource() = default;
virtual void getData( const MeshType &, const Faces & faces, std::vector<T> & ) = 0;
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment