Mercurial > projects > dwt2
diff java/src/java/util/WeakHashMap.d @ 21:9b96950f2c3c
the 'java' tree compiles on both D1-Tango and D2-Phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 19 Mar 2009 20:38:55 +0100 |
parents | 6dd524f61e62 |
children |
line wrap: on
line diff
--- a/java/src/java/util/WeakHashMap.d Wed Mar 18 12:10:17 2009 +0100 +++ b/java/src/java/util/WeakHashMap.d Thu Mar 19 20:38:55 2009 +0100 @@ -21,7 +21,7 @@ override hash_t toHash(){ return cast(hash_t)ptr; } - override int opEquals( Object o ){ + override equals_t opEquals( Object o ){ if( auto other = cast(Ref)o ){ return ptr is other.ptr; }