Changeset 14728 in webkit for trunk/JavaScriptCore/wtf/HashMap.h
- Timestamp:
- Jun 4, 2006, 3:51:57 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/HashMap.h
r14256 r14728 309 309 void deleteAllPairSeconds(HashTableType& collection) 310 310 { 311 typedef typename HashTableType:: iterator iterator;311 typedef typename HashTableType::const_iterator iterator; 312 312 iterator end = collection.end(); 313 313 for (iterator it = collection.begin(); it != end; ++it) … … 316 316 317 317 template<typename T, typename U, typename V, typename W, typename X> 318 inline void deleteAllValues( HashMap<T, U, V, W, X>& collection)318 inline void deleteAllValues(const HashMap<T, U, V, W, X>& collection) 319 319 { 320 320 deleteAllPairSeconds<typename HashMap<T, U, V, W, X>::MappedType>(collection);
Note:
See TracChangeset
for help on using the changeset viewer.