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:
parent
e9912bcf8a
commit
d51b90a880
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user