diff options
Diffstat (limited to 'sql/threadpool.h')
| -rw-r--r-- | sql/threadpool.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h index 27da872c5cc..e9fed450ae7 100644 --- a/sql/threadpool.h +++ b/sql/threadpool.h @@ -100,8 +100,7 @@ struct TP_connection priority(TP_PRIORITY_HIGH) {} - virtual ~TP_connection() - {}; + virtual ~TP_connection() = default; /* Initialize io structures windows threadpool, epoll etc */ virtual int init() = 0; @@ -119,7 +118,7 @@ struct TP_connection struct TP_pool { - virtual ~TP_pool(){}; + virtual ~TP_pool() = default; virtual int init()= 0; virtual TP_connection *new_connection(CONNECT *)= 0; virtual void add(TP_connection *c)= 0; |
