]> 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>
Fri, 24 Jul 2015 13:59:56 +0000 (09:59 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4)

src/common/WorkQueue.h

index 07aea2de3f63ecad90702dbd6263c22d52b40ac5..53bed77a50ff98798c612d6c08e9ea32504a6358 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() {