diff qt/d2/qt/core/QLine.d @ 325:b460cd08041f signals

dmd 2.037 opEquals bug-feature
author eldar1@eldar1-laptop
date Wed, 30 Dec 2009 11:25:07 +0000
parents 463563fc9e17
children
line wrap: on
line diff
--- a/qt/d2/qt/core/QLine.d	Tue Dec 29 02:48:09 2009 +0500
+++ b/qt/d2/qt/core/QLine.d	Wed Dec 30 11:25:07 2009 +0000
@@ -123,7 +123,7 @@
         pt2 = QPoint(aX2, aY2);
     }
 
-    bool opEquals(ref QLine d) // const
+    bool opEquals(ref const QLine d) const
     {
         return pt1 == d.pt1 && pt2 == d.pt2;
     }
@@ -320,7 +320,7 @@
         pt2 = QPointF(aX2, aY2);
     }
 
-    bool opEquals(ref QLineF d) // const
+    bool opEquals(ref const QLineF d) const
     {
         return pt1 == d.pt1 && pt2 == d.pt2;
     }