Title: [219386] trunk/Source/WTF
Revision
219386
Author
[email protected]
Date
2017-07-12 03:11:22 -0700 (Wed, 12 Jul 2017)

Log Message

Unreviewed, attempt to fix Windows build
https://bugs.webkit.org/show_bug.cgi?id=174366

* wtf/FastMalloc.h:
(WTF::operator==):
(WTF::operator!=):
(WTF::FastAllocator::operator==): Deleted.
(WTF::FastAllocator::operator!=): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (219385 => 219386)


--- trunk/Source/WTF/ChangeLog	2017-07-12 07:02:25 UTC (rev 219385)
+++ trunk/Source/WTF/ChangeLog	2017-07-12 10:11:22 UTC (rev 219386)
@@ -1,3 +1,14 @@
+2017-07-12  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, attempt to fix Windows build
+        https://bugs.webkit.org/show_bug.cgi?id=174366
+
+        * wtf/FastMalloc.h:
+        (WTF::operator==):
+        (WTF::operator!=):
+        (WTF::FastAllocator::operator==): Deleted.
+        (WTF::FastAllocator::operator!=): Deleted.
+
 2017-07-11  Carlos Garcia Campos  <[email protected]>
 
         [GTK][WPE] Enable FILE_LOCK and implement lockFile and unlockFile

Modified: trunk/Source/WTF/wtf/FastMalloc.h (219385 => 219386)


--- trunk/Source/WTF/wtf/FastMalloc.h	2017-07-12 07:02:25 UTC (rev 219385)
+++ trunk/Source/WTF/wtf/FastMalloc.h	2017-07-12 10:11:22 UTC (rev 219386)
@@ -124,11 +124,11 @@
     {
         fastFree(pointer);
     }
+};
 
-    template<typename U> bool operator==(const FastAllocator<U>&) { return true; }
+template<typename T, typename U> bool operator==(const FastAllocator<T>&, const FastAllocator<U>&) { return true; }
+template<typename T, typename U> bool operator!=(const FastAllocator<T>&, const FastAllocator<U>&) { return false; }
 
-    template<typename U> bool operator!=(const FastAllocator<U>&) { return false; }
-};
 
 } // namespace WTF
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to