diff options
| author | Patrick Walton <[email protected]> | 2010-10-20 10:32:36 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-10-20 10:32:36 -0700 |
| commit | 28d43678b6dee9307632627f5de07511aa0c830f (patch) | |
| tree | 81ab825e0b5a822ac1e5cde60fb25ac0f2c0f584 /src/rt/sync/sync.h | |
| parent | Translate lazy && and || operators in rustc. (diff) | |
| download | rust-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/sync.h')
| -rw-r--r-- | src/rt/sync/sync.h | 2 |
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 */ |