aboutsummaryrefslogtreecommitdiffhomepage
path: root/rbtree.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbtree.h')
-rw-r--r--rbtree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbtree.h b/rbtree.h
index f4831ce..bb3d8f4 100644
--- a/rbtree.h
+++ b/rbtree.h
@@ -21,6 +21,8 @@ public:
public:
RB_ENTRY(RBEntry) nodes;
+ virtual ~RBEntry() {}
+
inline RBEntry *
next(void)
{