summaryrefslogtreecommitdiff
path: root/src/hash.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-21 19:52:12 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-21 19:52:12 +0000
commit8b2878e6595e40d2a37bb9983274ccb5827a9192 (patch)
tree05a902091cebcaa40fb69818b335fee99ebf1aa5 /src/hash.cpp
parent4e55dab4511ffa8307e3ae7523659e6087632f95 (diff)
downloadlibbu++-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.cpp2
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
3subExceptionDef( HashException )
4
3template<> uint32_t __calcHashCode<const int>( const int k ) 5template<> uint32_t __calcHashCode<const int>( const int k )
4{ 6{
5 return k; 7 return k;