From 8b6dcfa29d0cfbebfd336d9be2bc0eee9a32b0a6 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 21 Aug 2019 15:57:32 +0200 Subject: Add virtual dtor for metadata base class --- src/dabOutput/metadata.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dabOutput/metadata.h') diff --git a/src/dabOutput/metadata.h b/src/dabOutput/metadata.h index ed16de5..34e146f 100644 --- a/src/dabOutput/metadata.h +++ b/src/dabOutput/metadata.h @@ -54,6 +54,8 @@ enum class output_metadata_id_e { }; struct OutputMetadata { + virtual ~OutputMetadata() {}; + virtual output_metadata_id_e getId(void) const = 0; virtual size_t getLength(void) const = 0; -- cgit v1.2.3