Title: [161802] trunk/Source/WTF
Revision
161802
Author
[email protected]
Date
2014-01-11 23:15:28 -0800 (Sat, 11 Jan 2014)

Log Message

Unreviewed build fix for ports using GCC after r161770.

* wtf/IteratorAdaptors.h:
(WTF::FilterIterator::operator*): Replicating r161797, the const qualifier for
FilterIterator::operator*() is removed since it clashes with some iterator types
that are also const, causing compilation failures with GCC.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (161801 => 161802)


--- trunk/Source/WTF/ChangeLog	2014-01-12 06:30:10 UTC (rev 161801)
+++ trunk/Source/WTF/ChangeLog	2014-01-12 07:15:28 UTC (rev 161802)
@@ -1,3 +1,12 @@
+2014-01-11  Zan Dobersek  <[email protected]>
+
+        Unreviewed build fix for ports using GCC after r161770.
+
+        * wtf/IteratorAdaptors.h:
+        (WTF::FilterIterator::operator*): Replicating r161797, the const qualifier for
+        FilterIterator::operator*() is removed since it clashes with some iterator types
+        that are also const, causing compilation failures with GCC.
+
 2014-01-11  Anders Carlsson  <[email protected]>
 
         Use std::call_once instead of AtomicallyInitializedStatic when creating a HTTP header set

Modified: trunk/Source/WTF/wtf/IteratorAdaptors.h (161801 => 161802)


--- trunk/Source/WTF/wtf/IteratorAdaptors.h	2014-01-12 06:30:10 UTC (rev 161801)
+++ trunk/Source/WTF/wtf/IteratorAdaptors.h	2014-01-12 07:15:28 UTC (rev 161802)
@@ -50,7 +50,7 @@
         return *this;
     }
 
-    const decltype(*std::declval<Iterator>()) operator*() const
+    decltype(*std::declval<Iterator>()) operator*() const
     {
         ASSERT(m_iter != m_end);
         ASSERT(m_pred(*m_iter));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to