aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-21 19:54:19 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-21 19:54:19 +0000
commit2bb05378f31311c353d43688fa753822ab9a6461 (patch)
tree3e3455875a1c17e23d64f31efe3015f24c227a1f
parent8b2878e6595e40d2a37bb9983274ccb5827a9192 (diff)
downloadlibbu++-2bb05378f31311c353d43688fa753822ab9a6461.tar.gz
libbu++-2bb05378f31311c353d43688fa753822ab9a6461.tar.bz2
libbu++-2bb05378f31311c353d43688fa753822ab9a6461.tar.xz
libbu++-2bb05378f31311c353d43688fa753822ab9a6461.zip
Hashable has a virtual destructor.
Diffstat (limited to '')
-rw-r--r--src/hashable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hashable.h b/src/hashable.h
index ce49130..98643d5 100644
--- a/src/hashable.h
+++ b/src/hashable.h
@@ -4,6 +4,7 @@
4class Hashable 4class Hashable
5{ 5{
6public: 6public:
7 virtual ~Hashable() {};
7 virtual unsigned long int getHashCode() = 0; 8 virtual unsigned long int getHashCode() = 0;
8 virtual bool compareForHash( Hashable &other ) = 0; 9 virtual bool compareForHash( Hashable &other ) = 0;
9}; 10};