]> 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>
Wed, 10 Jun 2015 13:36:54 +0000 (09:36 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4)
(cherry picked from commit 78afe97c87f3b4edda762a7a3c93ad79c437fc5d)

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