From dea04fb13d4d151c37fa228af093a2e9bdfde99a Mon Sep 17 00:00:00 2001 From: lnd3 Date: Tue, 1 Oct 2024 06:23:01 +0200 Subject: [PATCH] Default destructors. --- packages/nodegraph/include/nodegraph/core/NodeGraphBase.h | 2 +- .../nodegraph/include/nodegraph/operations/NodeGraphOpDataBus.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nodegraph/include/nodegraph/core/NodeGraphBase.h b/packages/nodegraph/include/nodegraph/core/NodeGraphBase.h index 6294eed..a781517 100644 --- a/packages/nodegraph/include/nodegraph/core/NodeGraphBase.h +++ b/packages/nodegraph/include/nodegraph/core/NodeGraphBase.h @@ -280,7 +280,7 @@ namespace l::nodegraph { mInputManager(*this) { } - ~NodeGraphOp2() { + virtual ~NodeGraphOp2() { } diff --git a/packages/nodegraph/include/nodegraph/operations/NodeGraphOpDataBus.h b/packages/nodegraph/include/nodegraph/operations/NodeGraphOpDataBus.h index 707d85e..7f65f7b 100644 --- a/packages/nodegraph/include/nodegraph/operations/NodeGraphOpDataBus.h +++ b/packages/nodegraph/include/nodegraph/operations/NodeGraphOpDataBus.h @@ -35,6 +35,7 @@ namespace l::nodegraph { AddOutput("Out " + std::to_string(i), 0.0f, 2); } } + virtual ~GraphDataBusDataIn() = default; virtual void Process(int32_t numSamples, std::vector& inputs, std::vector& outputs) override; protected: @@ -53,6 +54,7 @@ namespace l::nodegraph { } AddOutput("Bus Data", 0.0f, 2); } + virtual ~GraphDataBusDataOut() = default; virtual void Process(int32_t numSamples, std::vector& inputs, std::vector& outputs) override; protected: