]> 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)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 24 Jun 2015 16:41:03 +0000 (10:41 -0600)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4)
(cherry picked from commit ffd0933dcc790d7cedc1048b664bf4e8c40464a3)

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