aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjimmytobin2425 <jtobin1@ccrma.stanford.edu>2020-10-08 15:31:46 -0700
committerPhil Burk <philburk@mobileer.com>2020-10-12 16:11:54 -0700
commitf66d1623388be91be8f153f8353654f74284bbdc (patch)
tree6105df28544a79b61bb7896a7e3362991d390bd4 /src
parent5617ca6f5d4c4fdca8f2df1b5e0ebd554d8817a8 (diff)
downloadoboe-f66d1623388be91be8f153f8353654f74284bbdc.tar.gz
Add virtual destructor to FlowGraphPort.
Define a virtual destructor for base class.
Diffstat (limited to 'src')
-rw-r--r--src/flowgraph/FlowGraphNode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flowgraph/FlowGraphNode.h b/src/flowgraph/FlowGraphNode.h
index 59e8c0f7..acbee565 100644
--- a/src/flowgraph/FlowGraphNode.h
+++ b/src/flowgraph/FlowGraphNode.h
@@ -164,6 +164,8 @@ public:
: mContainingNode(parent)
, mSamplesPerFrame(samplesPerFrame) {
}
+
+ virtual ~FlowGraphPort() = default;
// Ports are often declared public. So let's make them non-copyable.
FlowGraphPort(const FlowGraphPort&) = delete;