From c336c66be30204a62ae3d25b6a67ae8485b2d3e5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 19 Jan 2007 23:15:34 +0000 Subject: Experimental commit to see if references work... --- src/hash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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: bool bFilled; public: - operator _value() + operator _value &() { if( bFilled == false ) throw HashException( @@ -74,7 +74,7 @@ public: return *pValue; } - _value value() + _value &value() { if( bFilled == false ) throw HashException( @@ -243,7 +243,7 @@ public: clearBits(); } - virtual value get( key k ) + virtual value &get( key k ) { uint32_t hash = __calcHashCode( k ); bool bFill; -- cgit v1.2.3