Title: [172378] trunk/Source/WTF
Revision
172378
Author
[email protected]
Date
2014-08-10 01:45:13 -0700 (Sun, 10 Aug 2014)

Log Message

Update HashTable's operator= after r172167 per review comments

* wtf/HashTable.h:
Update the type as suggested by Darin.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (172377 => 172378)


--- trunk/Source/WTF/ChangeLog	2014-08-10 07:30:26 UTC (rev 172377)
+++ trunk/Source/WTF/ChangeLog	2014-08-10 08:45:13 UTC (rev 172378)
@@ -1,3 +1,10 @@
+2014-08-10  Benjamin Poulain  <[email protected]>
+
+        Update HashTable's operator= after r172167 per review comments
+
+        * wtf/HashTable.h:
+        Update the type as suggested by Darin.
+
 2014-08-07  Benjamin Poulain  <[email protected]>
 
         Get rid of SCRIPTED_SPEECH

Modified: trunk/Source/WTF/wtf/HashTable.h (172377 => 172378)


--- trunk/Source/WTF/wtf/HashTable.h	2014-08-10 07:30:26 UTC (rev 172377)
+++ trunk/Source/WTF/wtf/HashTable.h	2014-08-10 08:45:13 UTC (rev 172378)
@@ -1233,7 +1233,7 @@
     template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
     inline auto HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::operator=(HashTable&& other) -> HashTable&
     {
-        HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits> temp = WTF::move(other);
+        HashTable temp = WTF::move(other);
         swap(temp);
         return *this;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to