about summary refs log tree commit diff
path: root/src/rt/sync
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2010-10-20 10:32:36 -0700
committerPatrick Walton <pcwalton@mimiga.net>2010-10-20 10:32:36 -0700
commit28d43678b6dee9307632627f5de07511aa0c830f (patch)
tree81ab825e0b5a822ac1e5cde60fb25ac0f2c0f584 /src/rt/sync
parent368943998de2dee5f47c8e05e2facb11dfd148b7 (diff)
Add a virtual destructor to rust_thread in sync.h, to quiet the compiler
Diffstat (limited to 'src/rt/sync')
-rw-r--r--src/rt/sync/sync.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/sync/sync.h b/src/rt/sync/sync.h
index bd755e1f9fe..9996aa66567 100644
--- a/src/rt/sync/sync.h
+++ b/src/rt/sync/sync.h
@@ -35,6 +35,8 @@ public:
     void join();
 
     bool is_running();
+
+    virtual ~rust_thread() {}   // quiet the compiler
 };
 
 #endif /* SYNC_H */