Changeset 13015 in webkit for trunk/JavaScriptCore/kxmlcore/HashTable.h
- Timestamp:
- Feb 27, 2006, 1:36:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kxmlcore/HashTable.h
r12511 r13015 175 175 } 176 176 177 178 #if CHECK_HASHTABLE_ITERATORS 177 179 void checkValidity(const const_iterator& other) const 178 180 { 179 #if CHECK_HASHTABLE_ITERATORS180 181 assert(m_table); 181 182 assert(other.m_table); 182 183 assert(m_table == other.m_table); 183 #endif 184 } 184 } 185 #else 186 void checkValidity(const const_iterator&) const { } 187 #endif 185 188 186 189 PointerType m_position; … … 252 255 static unsigned hash(const Key& key) { return HashFunctions::hash(key); } 253 256 static bool equal(const Key& a, const Key& b) { return HashFunctions::equal(a, b); } 254 static void translate(Value& location, const Key& key, const Value& value, unsigned) { location = value; }257 static void translate(Value& location, const Key&, const Value& value, unsigned) { location = value; } 255 258 }; 256 259
Note:
See TracChangeset
for help on using the changeset viewer.