Changeset 21468 in webkit for trunk/JavaScriptCore/wtf/HashSet.h
- Timestamp:
- May 14, 2007, 5:20:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/HashSet.h
r17127 r21468 58 58 HashSet& operator=(const HashSet&); 59 59 ~HashSet(); 60 61 void swap(HashSet&); 60 62 61 63 int size() const; … … 183 185 { 184 186 HashSet tmp(other); 185 m_impl.swap(tmp.m_impl);187 swap(other); 186 188 return *this; 189 } 190 191 template<typename T, typename U, typename V> 192 inline void HashSet<T, U, V>::swap(HashSet& other) 193 { 194 m_impl.swap(other.m_impl); 187 195 } 188 196
Note:
See TracChangeset
for help on using the changeset viewer.