Gardening: build fixes for GTK and EFL for CheckedArithmetic change.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jun 2015 20:26:22 +0000 (20:26 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jun 2015 20:26:22 +0000 (20:26 +0000)
Not reviewed.

* wtf/CheckedArithmetic.h:
(WTF::Checked::operator<):
(WTF::Checked::operator<=):
(WTF::Checked::operator>):
(WTF::Checked::operator>=):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185764 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/CheckedArithmetic.h

index 20d707a..b6728a1 100644 (file)
@@ -1,5 +1,17 @@
 2015-06-19  Mark Lam  <mark.lam@apple.com>
 
+        Gardening: build fixes for GTK and EFL for CheckedArithmetic change.
+
+        Not reviewed.
+
+        * wtf/CheckedArithmetic.h:
+        (WTF::Checked::operator<):
+        (WTF::Checked::operator<=):
+        (WTF::Checked::operator>):
+        (WTF::Checked::operator>=):
+
+2015-06-19  Mark Lam  <mark.lam@apple.com>
+
         CheckedArithmetic's operator bool() and operator==() is broken.
         https://bugs.webkit.org/show_bug.cgi?id=146129
 
index 31d1776..6cc45b3 100644 (file)
@@ -641,7 +641,7 @@ public:
         return unsafeGet() < rhs.unsafeGet();
     }
 
-    template bool operator<(T rhs) const
+    bool operator<(T rhs) const
     {
         return unsafeGet() < rhs;
     }
@@ -651,7 +651,7 @@ public:
         return unsafeGet() <= rhs.unsafeGet();
     }
 
-    template bool operator<=(T rhs) const
+    bool operator<=(T rhs) const
     {
         return unsafeGet() <= rhs;
     }
@@ -661,7 +661,7 @@ public:
         return unsafeGet() > rhs.unsafeGet();
     }
 
-    template bool operator>(T rhs) const
+    bool operator>(T rhs) const
     {
         return unsafeGet() > rhs;
     }
@@ -671,7 +671,7 @@ public:
         return unsafeGet() >= rhs.unsafeGet();
     }
 
-    template bool operator>=(T rhs) const
+    bool operator>=(T rhs) const
     {
         return unsafeGet() >= rhs;
     }