Changeset 21494 in webkit


Ignore:
Timestamp:
May 15, 2007 12:04:50 PM (17 years ago)
Author:
ggaren
Message:

Reviewed by Adele Peterson.


It helps if you swap the right variable.

  • wtf/HashSet.h: (WTF::::operator):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r21485 r21494  
     12007-05-15  Geoffrey Garen  <ggaren@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4       
     5        It helps if you swap the right variable.
     6
     7        * wtf/HashSet.h:
     8        (WTF::::operator):
     9
    1102007-05-15  Lars Knoll <lars@trolltech.com>
    211
  • trunk/JavaScriptCore/wtf/HashSet.h

    r21468 r21494  
    185185    {
    186186        HashSet tmp(other);
    187         swap(other);
     187        swap(tmp);
    188188        return *this;
    189189    }
Note: See TracChangeset for help on using the changeset viewer.