From f0f38e0f164b7e8b9132665407445d93f33be7ad Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 14 Jul 2006 07:55:14 +0000 Subject: Made everything have a virtual deconstructor. This is apparently very important. --- src/pqueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pqueue.h') 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: /** * Cleanup all contained queues. */ - ~PQueue(); + virtual ~PQueue(); /** Add a new item to the queue at the specified priority. A lower * number means a higher priority! -- cgit v1.2.3