aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-07 16:48:35 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-07 16:48:35 +0000
commitaba7c45c2c69d402d1b6fc427cde5bfa4661a0e1 (patch)
tree5b3849a8190cdb8742b1f43f4b8bbb43c73ababe /src/hash.h
parent45e065bc4fc93731ea9a0543462bc7cf9e6084d7 (diff)
downloadlibbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.tar.gz
libbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.tar.bz2
libbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.tar.xz
libbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.zip
Corrected a couple of places where std:: classes were being used and shouldn't
have been. Also made the Unit tests actually use expected values, so you can mark a test as "expected fail" and it'll know. It also prints out cute reports at the end of each run.
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hash.h b/src/hash.h
index e717c60..8c58645 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -894,11 +894,6 @@ namespace Bu
894 // nFilled, nDeleted, nCapacity ); 894 // nFilled, nDeleted, nCapacity );
895 } 895 }
896 896
897 virtual std::pair<key,value> getAtPos( uint32_t nPos )
898 {
899 return std::pair<key,value>(aKeys[nPos],aValues[nPos]);
900 }
901
902 virtual key &getKeyAtPos( uint32_t nPos ) 897 virtual key &getKeyAtPos( uint32_t nPos )
903 { 898 {
904 return aKeys[nPos]; 899 return aKeys[nPos];