Module: sems
Branch: master
Commit: 514d49353008298f640237f4d2d6397e7e2b7815
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=514d49353008298f640237f4d2d6397e7e2b7815

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Fri Mar  1 11:26:02 2013 +0100

c/f: make bucket destructor virtual

---

 core/hash_table.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/hash_table.h b/core/hash_table.h
index ffb0a04..a6e2dad 100644
--- a/core/hash_table.h
+++ b/core/hash_table.h
@@ -47,7 +47,7 @@ public:
     typedef list<Value*> value_list;
 
     ht_bucket(unsigned long id) : id(id) {}
-    ~ht_bucket() {}
+    virtual ~ht_bucket() {}
     
     /**
      * Caution: The bucket MUST be locked before you can 
@@ -129,7 +129,7 @@ public:
     typedef map<Key,Value*> value_map;
 
     ht_map_bucket(unsigned long id) : id(id) {}
-    ~ht_map_bucket() {}
+    virtual ~ht_map_bucket() {}
     
     /**
      * Caution: The bucket MUST be locked before you can 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to