Changeset 48732 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 24, 2009, 2:18:26 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r48731 r48732 1 2009-09-24 Geoffrey Garen <[email protected]> 2 3 Reviewed by Sam Weinig. 4 5 Renamed clear to removeAll, as suggested by Darin Adler. 6 7 * wtf/HashCountedSet.h: 8 (WTF::::removeAll): 9 1 10 2009-09-24 Mark Rowe <[email protected]> 2 11 -
trunk/JavaScriptCore/wtf/HashCountedSet.h
r48727 r48732 66 66 67 67 // removes the value, regardless of its count 68 void clear(iterator);69 void clear(const ValueType&);68 void removeAll(iterator); 69 void removeAll(const ValueType&); 70 70 71 71 // clears the whole set … … 172 172 173 173 template<typename Value, typename HashFunctions, typename Traits> 174 inline void HashCountedSet<Value, HashFunctions, Traits>:: clear(const ValueType& value)175 { 176 clear(find(value));177 } 178 179 template<typename Value, typename HashFunctions, typename Traits> 180 inline void HashCountedSet<Value, HashFunctions, Traits>:: clear(iterator it)174 inline void HashCountedSet<Value, HashFunctions, Traits>::removeAll(const ValueType& value) 175 { 176 removeAll(find(value)); 177 } 178 179 template<typename Value, typename HashFunctions, typename Traits> 180 inline void HashCountedSet<Value, HashFunctions, Traits>::removeAll(iterator it) 181 181 { 182 182 if (it == end())
Note:
See TracChangeset
for help on using the changeset viewer.