From: Jason Dillaman Date: Mon, 11 May 2015 21:05:49 +0000 (-0400) Subject: WorkQueue: added virtual destructor X-Git-Tag: v0.94.3~59^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ffd0933dcc790d7cedc1048b664bf4e8c40464a3;p=ceph.git WorkQueue: added virtual destructor Signed-off-by: Jason Dillaman (cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4) --- diff --git a/src/common/WorkQueue.h b/src/common/WorkQueue.h index 07e9b6f51efd4..d1b11b62a82f1 100644 --- a/src/common/WorkQueue.h +++ b/src/common/WorkQueue.h @@ -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() {