From 0e41e5b6c004f695013d65f71c4223e2540d1391 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 7 Jun 2007 03:30:38 +0000 Subject: Minor change to the operation of the Hash, now dereferencing an iterator with the prefix * operator will return only a reference to the value, not a pair, it was causing issues, and you can still get at the key with the getKey function. --- src/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hash.h') diff --git a/src/hash.h b/src/hash.h index f25c258..a81c355 100644 --- a/src/hash.h +++ b/src/hash.h @@ -437,7 +437,7 @@ namespace Bu bFinished = oth.bFinished; } - std::pair operator *() + value &operator *() { return hsh.getAtPos( nPos ); } -- cgit v1.2.3