]> git.apps.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>
Fri, 5 Jun 2015 20:11:51 +0000 (16:11 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4)

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() {