diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 19:52:12 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 19:52:12 +0000 |
commit | 8b2878e6595e40d2a37bb9983274ccb5827a9192 (patch) | |
tree | 05a902091cebcaa40fb69818b335fee99ebf1aa5 /src/hash.cpp | |
parent | 4e55dab4511ffa8307e3ae7523659e6087632f95 (diff) | |
download | libbu++-8b2878e6595e40d2a37bb9983274ccb5827a9192.tar.gz libbu++-8b2878e6595e40d2a37bb9983274ccb5827a9192.tar.bz2 libbu++-8b2878e6595e40d2a37bb9983274ccb5827a9192.tar.xz libbu++-8b2878e6595e40d2a37bb9983274ccb5827a9192.zip |
Hash uses real exceptions now, and has a clear() function.
Diffstat (limited to 'src/hash.cpp')
-rw-r--r-- | src/hash.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hash.cpp b/src/hash.cpp index 0241753..a32fa2a 100644 --- a/src/hash.cpp +++ b/src/hash.cpp | |||
@@ -1,5 +1,7 @@ | |||
1 | #include "hash.h" | 1 | #include "hash.h" |
2 | 2 | ||
3 | subExceptionDef( HashException ) | ||
4 | |||
3 | template<> uint32_t __calcHashCode<const int>( const int k ) | 5 | template<> uint32_t __calcHashCode<const int>( const int k ) |
4 | { | 6 | { |
5 | return k; | 7 | return k; |