Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Point.d @ 26:f589fc20a5f9
work on linux phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 21 Mar 2009 11:22:55 +0100 |
parents | f713da8bc051 |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Point.d Fri Mar 20 23:03:58 2009 +0100 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Point.d Sat Mar 21 11:22:55 2009 +0100 @@ -17,7 +17,6 @@ public import org.eclipse.swt.internal.SerializableCompatibility; -import tango.text.convert.Format; /** * Instances of this class represent places on the (x, y) @@ -79,7 +78,7 @@ * * @see #hashCode() */ -public override int opEquals (Object object) { +public override equals_t opEquals (Object object) { if (object is this) return true; if ( auto p = cast(Point)object ){ return (p.x is this.x) && (p.y is this.y);