]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
WorkQueue: added virtual destructor
authorJason Dillaman <dillaman@redhat.com>
Mon, 11 May 2015 21:05:49 +0000 (17:05 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 26 May 2015 18:25:19 +0000 (14:25 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/WorkQueue.h

index 07e9b6f51efd4e72ed0751e063e9b1a8ac490b32..d1b11b62a82f107a38cddedcbb3e258fa4cf376a 100644 (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() {