aboutsummaryrefslogtreecommitdiff
path: root/src/rt/sync
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-10-20 10:32:36 -0700
committerPatrick Walton <[email protected]>2010-10-20 10:32:36 -0700
commit28d43678b6dee9307632627f5de07511aa0c830f (patch)
tree81ab825e0b5a822ac1e5cde60fb25ac0f2c0f584 /src/rt/sync
parentTranslate lazy && and || operators in rustc. (diff)
downloadrust-28d43678b6dee9307632627f5de07511aa0c830f.tar.xz
rust-28d43678b6dee9307632627f5de07511aa0c830f.zip
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 bd755e1f..9996aa66 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 */