Add virtual destructor for ThreadBase.

Oops!
This commit is contained in:
Jared Boone 2016-02-05 10:44:27 -08:00
parent 80511ac93f
commit cefab197da

View File

@ -32,6 +32,8 @@ public:
{
}
virtual ~ThreadBase() = default;
protected:
static msg_t fn(void* arg) {
auto obj = static_cast<ThreadBase*>(arg);