summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index 9a26579..af2323c 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -32,7 +32,6 @@
class Thread {
public:
Thread();
- ~Thread();
virtual int run() = 0;
@@ -48,6 +47,7 @@ public:
static void exit();
protected:
+ ~Thread();
void lock();
void unlock();
static void global_lock();