aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-03-16 10:26:03 +0100
committerMax Kellermann <max@duempel.org>2014-03-16 10:26:23 +0100
commitd51b90a880260f5f7942057f5f46367007944e4c (patch)
treeba78a53d8a51b6bf5fb71f3ff128f3252d92a33e
parente9912bcf8a8041d9c8e22c0c9fcb8442c530d2d8 (diff)
downloadmpd-d51b90a880260f5f7942057f5f46367007944e4c.tar.gz
mpd-d51b90a880260f5f7942057f5f46367007944e4c.tar.xz
mpd-d51b90a880260f5f7942057f5f46367007944e4c.zip
thread/Thread: make the destructor non-virtual
The class does not have any virtual methods, and thus the (debug-only) destructor does not need to be virtual.
-rw-r--r--src/thread/Thread.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/Thread.hxx b/src/thread/Thread.hxx
index 1b1bca0e8..976ff5625 100644
--- a/src/thread/Thread.hxx
+++ b/src/thread/Thread.hxx
@@ -68,7 +68,7 @@ public:
Thread(const Thread &) = delete;
#ifndef NDEBUG
- virtual ~Thread() {
+ ~Thread() {
/* all Thread objects must be destructed manually by calling
Join(), to clean up */
assert(!IsDefined());