Changeset 38392 in webkit
- Timestamp:
- Nov 14, 2008 9:54:07 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r38391 r38392 1 2008-11-14 Kristian Amlie <kristian.amlie@trolltech.com> 2 3 Reviewed by Darin Adler. 4 5 Compile fix for RVCT. 6 7 In reality, it is two fixes: 8 9 1. Remove typename. I believe typename can only be used when the named 10 type depends on the template parameters, which it doesn't in this 11 case, so I think this is more correct. 12 2. Replace ::iterator scope with specialized typedef. This is to work 13 around a bug in RVCT. 14 15 https://bugs.webkit.org/show_bug.cgi?id=22260 16 17 * wtf/ListHashSet.h: 18 (WTF::::find): 19 1 20 2008-11-14 Kristian Amlie <kristian.amlie@trolltech.com> 2 21 -
trunk/JavaScriptCore/wtf/ListHashSet.h
r35900 r38392 61 61 62 62 typedef HashTable<Node*, Node*, IdentityExtractor<Node*>, NodeHash, NodeTraits, NodeTraits> ImplType; 63 typedef HashTableIterator<Node*, Node*, IdentityExtractor<Node*>, NodeHash, NodeTraits, NodeTraits> ImplTypeIterator; 64 typedef HashTableConstIterator<Node*, Node*, IdentityExtractor<Node*>, NodeHash, NodeTraits, NodeTraits> ImplTypeConstIterator; 63 65 64 66 typedef HashArg HashFunctions; … … 442 444 { 443 445 typedef ListHashSetTranslator<ValueType, HashFunctions> Translator; 444 typename ImplType::iterator it = m_impl.template find<ValueType, Translator>(value);446 ImplTypeIterator it = m_impl.template find<ValueType, Translator>(value); 445 447 if (it == m_impl.end()) 446 448 return end(); … … 452 454 { 453 455 typedef ListHashSetTranslator<ValueType, HashFunctions> Translator; 454 typename ImplType::const_iterator it = m_impl.template find<ValueType, Translator>(value);456 ImplTypeConstIterator it = m_impl.template find<ValueType, Translator>(value); 455 457 if (it == m_impl.end()) 456 458 return end();
Note: See TracChangeset
for help on using the changeset viewer.