Add a virtual destructor for ThreadedQueue

This commit is contained in:
Fangrui Song 2017-11-18 19:50:22 -08:00 committed by Jacob Dufault
parent 3f45c05476
commit 49559402cf

View File

@ -16,6 +16,7 @@ using std::experimental::optional;
struct BaseThreadQueue {
virtual bool IsEmpty() = 0;
virtual ~BaseThreadQueue() = default;
};
struct MultiQueueWaiter {