From cefab197da54de524a9395d9374dfb24c1960a9e Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Fri, 5 Feb 2016 10:44:27 -0800 Subject: [PATCH] Add virtual destructor for ThreadBase. Oops! --- firmware/baseband/thread_base.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/baseband/thread_base.hpp b/firmware/baseband/thread_base.hpp index 9b5e8a99..b318b240 100644 --- a/firmware/baseband/thread_base.hpp +++ b/firmware/baseband/thread_base.hpp @@ -32,6 +32,8 @@ public: { } + virtual ~ThreadBase() = default; + protected: static msg_t fn(void* arg) { auto obj = static_cast(arg);