WorkQueue: added virtual destructor

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2015-05-11 17:05:49 -04:00
parent 24a33e977f
commit b3f5a75332

View File

@ -330,7 +330,7 @@ private:
public:
ThreadPool(CephContext *cct_, string nm, int n, const char *option = NULL);
~ThreadPool();
virtual ~ThreadPool();
/// return number of threads currently running
int get_num_threads() {