diff options
| author | Jeffrey Yasskin <[email protected]> | 2010-07-21 00:22:38 +0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-22 01:11:34 +0800 |
| commit | 068c71f11ca21cefd946c2e44c6efa35b425c1d3 (patch) | |
| tree | 032a5717c7707d20949aa771d2bc647301368b70 /src/rt | |
| parent | Back out "::ALL" default logbits. (diff) | |
| download | rust-068c71f11ca21cefd946c2e44c6efa35b425c1d3.tar.xz rust-068c71f11ca21cefd946c2e44c6efa35b425c1d3.zip | |
Fix -Wnon-virtual-destructor, which apple's gcc-4.0 seems to turn on by default.
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_dom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_dom.h b/src/rt/rust_dom.h index 38d04dbf..1840f8ea 100644 --- a/src/rt/rust_dom.h +++ b/src/rt/rust_dom.h @@ -12,6 +12,7 @@ class rust_message : public lock_free_queue_node, public: rust_dom *dom; rust_message(rust_dom *dom); + virtual ~rust_message() {} virtual void process(); }; |