aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-01-19 23:15:34 +0000
committerMike Buland <eichlan@xagasoft.com>2007-01-19 23:15:34 +0000
commitc336c66be30204a62ae3d25b6a67ae8485b2d3e5 (patch)
tree7667298000e6111ec5dc0c800edf074097af21a5 /src
parent22c526f708c433bfdf7833970eaf0a8d27050ea9 (diff)
downloadlibbu++-c336c66be30204a62ae3d25b6a67ae8485b2d3e5.tar.gz
libbu++-c336c66be30204a62ae3d25b6a67ae8485b2d3e5.tar.bz2
libbu++-c336c66be30204a62ae3d25b6a67ae8485b2d3e5.tar.xz
libbu++-c336c66be30204a62ae3d25b6a67ae8485b2d3e5.zip
Experimental commit to see if references work...
Diffstat (limited to 'src')
-rw-r--r--src/hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash.h b/src/hash.h
index fa82cc3..1ae68b8 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -64,7 +64,7 @@ private:
64 bool bFilled; 64 bool bFilled;
65 65
66public: 66public:
67 operator _value() 67 operator _value &()
68 { 68 {
69 if( bFilled == false ) 69 if( bFilled == false )
70 throw HashException( 70 throw HashException(
@@ -74,7 +74,7 @@ public:
74 return *pValue; 74 return *pValue;
75 } 75 }
76 76
77 _value value() 77 _value &value()
78 { 78 {
79 if( bFilled == false ) 79 if( bFilled == false )
80 throw HashException( 80 throw HashException(
@@ -243,7 +243,7 @@ public:
243 clearBits(); 243 clearBits();
244 } 244 }
245 245
246 virtual value get( key k ) 246 virtual value &get( key k )
247 { 247 {
248 uint32_t hash = __calcHashCode( k ); 248 uint32_t hash = __calcHashCode( k );
249 bool bFill; 249 bool bFill;