diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 19:54:19 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 19:54:19 +0000 |
commit | 2bb05378f31311c353d43688fa753822ab9a6461 (patch) | |
tree | 3e3455875a1c17e23d64f31efe3015f24c227a1f /src | |
parent | 8b2878e6595e40d2a37bb9983274ccb5827a9192 (diff) | |
download | libbu++-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.h | 1 |
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 @@ | |||
4 | class Hashable | 4 | class Hashable |
5 | { | 5 | { |
6 | public: | 6 | public: |
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 | }; |