Blame SOURCES/0013-WorkQueue-added-virtual-destructor.patch

545b23
From d1510d9d33fe4091fc8cdf364683fc832e698b30 Mon Sep 17 00:00:00 2001
545b23
From: Jason Dillaman <dillaman@redhat.com>
545b23
Date: Mon, 11 May 2015 17:05:49 -0400
545b23
Subject: [PATCH 13/22] WorkQueue: added virtual destructor
545b23
545b23
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
545b23
(cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4)
545b23
(cherry picked from commit 78afe97c87f3b4edda762a7a3c93ad79c437fc5d)
545b23
---
545b23
 src/common/WorkQueue.h | 2 +-
545b23
 1 file changed, 1 insertion(+), 1 deletion(-)
545b23
545b23
diff --git a/src/common/WorkQueue.h b/src/common/WorkQueue.h
545b23
index 07aea2d..53bed77 100644
545b23
--- a/src/common/WorkQueue.h
545b23
+++ b/src/common/WorkQueue.h
545b23
@@ -330,7 +330,7 @@ private:
545b23
 
545b23
 public:
545b23
   ThreadPool(CephContext *cct_, string nm, int n, const char *option = NULL);
545b23
-  ~ThreadPool();
545b23
+  virtual ~ThreadPool();
545b23
 
545b23
   /// return number of threads currently running
545b23
   int get_num_threads() {
545b23
-- 
545b23
2.1.0
545b23