From be5dafa2e4b90a4646a02e7f68d2ae9894d232c3 Mon Sep 17 00:00:00 2001 From: Skrylar Date: Fri, 1 Feb 2019 20:52:37 -0600 Subject: [PATCH] Version bump and virtual dtor. --- Makefile | 2 +- src/jack-audio-module-widget.cc | 3 +++ src/jack-audio-module-widget.hh | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b68c011..bc6b636 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SLUG = SkJack # Must follow the format in the Versioning section of # https://vcvrack.com/manual/PluginDevelopmentTutorial.html -VERSION = 0.6.4 +VERSION = 0.6.5 # FLAGS will be passed to both the C and C++ compiler FLAGS += $(pkg-config --cflags jack) diff --git a/src/jack-audio-module-widget.cc b/src/jack-audio-module-widget.cc index e63d76c..209d832 100644 --- a/src/jack-audio-module-widget.cc +++ b/src/jack-audio-module-widget.cc @@ -115,6 +115,9 @@ JackAudioModuleWidget::JackAudioModuleWidget(JackAudioModule *module) : ModuleWi } } +JackAudioModuleWidget::~JackAudioModuleWidget() { +} + json_t* JackAudioModuleWidget::toJson() { auto map = ModuleWidget::toJson(); auto port_names = json_array(); diff --git a/src/jack-audio-module-widget.hh b/src/jack-audio-module-widget.hh index 3bc7a9c..1e859bc 100644 --- a/src/jack-audio-module-widget.hh +++ b/src/jack-audio-module-widget.hh @@ -6,6 +6,7 @@ struct JackAudioModuleWidget : ModuleWidget { TextField* port_names[8]; JackAudioModuleWidget(JackAudioModule *module); + virtual ~JackAudioModuleWidget(); /** \brief Hook to do something when a text widget reports a port has been named. */ void on_port_renamed(int port, const std::string& name);