Title: [147159] tags/Safari-537.35.3/Source/WTF
Revision
147159
Author
[email protected]
Date
2013-03-28 14:45:03 -0700 (Thu, 28 Mar 2013)

Log Message

Merge portion of r146823 needed for <rdar://problem/13475462>
        
* wtf/HashSet.h:
(WTF):
(WTF::copyToVector):

Modified Paths

Diff

Modified: tags/Safari-537.35.3/Source/WTF/ChangeLog (147158 => 147159)


--- tags/Safari-537.35.3/Source/WTF/ChangeLog	2013-03-28 21:44:35 UTC (rev 147158)
+++ tags/Safari-537.35.3/Source/WTF/ChangeLog	2013-03-28 21:45:03 UTC (rev 147159)
@@ -1,3 +1,11 @@
+2013-03-28  Lucas Forschler  <[email protected]>
+
+        Merge portion of r146823 needed for <rdar://problem/13475462>
+        
+        * wtf/HashSet.h:
+        (WTF):
+        (WTF::copyToVector):
+
 2013-03-19  Martin Robinson  <[email protected]>
 
         Fix the WTF gyp build for GTK+.

Modified: tags/Safari-537.35.3/Source/WTF/wtf/HashSet.h (147158 => 147159)


--- tags/Safari-537.35.3/Source/WTF/wtf/HashSet.h	2013-03-28 21:44:35 UTC (rev 147158)
+++ tags/Safari-537.35.3/Source/WTF/wtf/HashSet.h	2013-03-28 21:45:03 UTC (rev 147159)
@@ -243,11 +243,11 @@
         deleteAllValues<typename HashSet<T, U, V>::ValueType>(collection.m_impl);
     }
 
-    template<typename T, typename U, typename V, typename W>
-    inline void copyToVector(const HashSet<T, U, V>& collection, W& vector)
-    {
-        typedef typename HashSet<T, U, V>::const_iterator iterator;
-        
+    template<typename C, typename W> 
+    inline void copyToVector(const C& collection, W& vector) 
+    { 
+        typedef typename C::const_iterator iterator;
+
         vector.resize(collection.size());
         
         iterator it = collection.begin();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to