aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;