diff java/src/java/nonstandard/WeakRef.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/nonstandard/WeakRef.d	Wed Mar 18 12:10:17 2009 +0100
+++ b/java/src/java/nonstandard/WeakRef.d	Thu Mar 19 20:38:55 2009 +0100
@@ -76,7 +76,7 @@
     WeakRef dup() {
         return new WeakRef(ptr());
     }
-    int opEquals( Object o ){
+    equals_t opEquals( Object o ){
         if( auto other = cast( WeakRef!(T) )o ){
             return other.cast_ptr_ is cast_ptr_;
         }