Skip to content
Snippets Groups Projects
Commit 61b98dcc authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

added missing destructors to abstract classes that clang 6 complains about

parent 4dcc5ec3
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,10 @@ typedef std::function<void (
class Advection
{
public:
SOLVER_UTILS_EXPORT virtual ~Advection()
{};
/// Interface function to initialise the advection object.
SOLVER_UTILS_EXPORT void InitObject(
LibUtilities::SessionReaderSharedPtr pSession,
......
......@@ -71,6 +71,10 @@ namespace Nektar
class Diffusion
{
public:
SOLVER_UTILS_EXPORT virtual ~Diffusion()
{};
SOLVER_UTILS_EXPORT void InitObject(
LibUtilities::SessionReaderSharedPtr pSession,
Array<OneD, MultiRegions::ExpListSharedPtr> pFields);
......
......@@ -160,6 +160,9 @@ namespace Nektar
SOLVER_UTILS_EXPORT RiemannSolver(
const LibUtilities::SessionReaderSharedPtr& pSession);
SOLVER_UTILS_EXPORT virtual ~RiemannSolver()
{};
virtual void v_Solve(
const int nDim,
const Array<OneD, const Array<OneD, NekDouble> > &Fwd,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment