diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-14 07:55:14 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-14 07:55:14 +0000 |
commit | f0f38e0f164b7e8b9132665407445d93f33be7ad (patch) | |
tree | 85bad44d80eb9df45a9f7ea960b51d1b2c003843 /src/pqueue.h | |
parent | 74f94e9b20c93b93ad8b9091474f6368fc79c697 (diff) | |
download | libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.gz libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.bz2 libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.tar.xz libbu++-f0f38e0f164b7e8b9132665407445d93f33be7ad.zip |
Made everything have a virtual deconstructor. This is apparently very
important.
Diffstat (limited to 'src/pqueue.h')
-rw-r--r-- | src/pqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pqueue.h b/src/pqueue.h index 1b45f75..8307d56 100644 --- a/src/pqueue.h +++ b/src/pqueue.h | |||
@@ -19,7 +19,7 @@ public: | |||
19 | /** | 19 | /** |
20 | * Cleanup all contained queues. | 20 | * Cleanup all contained queues. |
21 | */ | 21 | */ |
22 | ~PQueue(); | 22 | virtual ~PQueue(); |
23 | 23 | ||
24 | /** Add a new item to the queue at the specified priority. A lower | 24 | /** Add a new item to the queue at the specified priority. A lower |
25 | * number means a higher priority! | 25 | * number means a higher priority! |