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.
This commit is contained in:
Max Kellermann 2014-03-16 10:26:03 +01:00
parent e9912bcf8a
commit d51b90a880

View File

@ -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());