2006-08-03 Anders Carlsson <acarlsson@apple.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Aug 2006 19:33:38 +0000 (19:33 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Aug 2006 19:33:38 +0000 (19:33 +0000)
        Reviewed by John Sullivan.

       * wtf/HashSet.h:
        (WTF::::operator):
        Return *this in operator=

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

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/HashSet.h

index 17c1132898199fd1e50202d8a7ee5c13ed0adcca..7160a24b20fd6b030228a55981479f4dce39193e 100644 (file)
@@ -1,3 +1,11 @@
+2006-08-03  Anders Carlsson  <acarlsson@apple.com>
+
+        Reviewed by John Sullivan.
+
+       * wtf/HashSet.h:
+        (WTF::::operator):
+        Return *this in operator=
+
 2006-08-03  Adam Roben  <aroben@apple.com>
 
         Reviewed by Anders.
index 24bf194d8e86cfa49de3833e99e7b584969f68e2..63b5850c7ff04f3c1b135fd4eb08e0abeb83c9b2 100644 (file)
@@ -183,6 +183,7 @@ namespace WTF {
     {
         HashSet tmp(other);
         m_impl.swap(tmp.m_impl); 
+        return *this;
     }
 
     template<typename T, typename U, typename V>