Skip to content

Commit

Permalink
WorkQueue: added virtual destructor
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b3f5a75)
  • Loading branch information
Jason Dillaman committed Jun 5, 2015
1 parent f28f18f commit 78afe97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/WorkQueue.h
Expand Up @@ -330,7 +330,7 @@ class ThreadPool : public md_config_obs_t {

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

0 comments on commit 78afe97

Please sign in to comment.