RESOLVED FIXED Bug 59250
Add missing default constructors for HashMap iterator specializations.
https://bugs.webkit.org/show_bug.cgi?id=59250
Summary Add missing default constructors for HashMap iterator specializations.
Vitaly Repeshko
Reported 2011-04-22 15:47:20 PDT
Add missing default constructors for HashMap iterator specializations.
Attachments
patch (2.19 KB, patch)
2011-04-22 15:49 PDT, Vitaly Repeshko
no flags
patch (2.25 KB, patch)
2011-04-22 16:20 PDT, Vitaly Repeshko
abarth: review+
Vitaly Repeshko
Comment 1 2011-04-22 15:49:28 PDT
Adam Barth
Comment 2 2011-04-22 16:12:40 PDT
Comment on attachment 90787 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=90787&action=review > Source/JavaScriptCore/wtf/HashTable.h:129 > - addIterator(0, this); > + addIterator(static_cast<const HashTableType*>(0), this); Why is this needed? More explanation in the ChangeLog would be helpful.
Vitaly Repeshko
Comment 3 2011-04-22 16:20:12 PDT
Created attachment 90798 [details] patch Added the explanation to ChangeLog.
Vitaly Repeshko
Comment 4 2011-04-22 17:59:55 PDT
M Source/JavaScriptCore/ChangeLog M Source/JavaScriptCore/wtf/HashIterators.h M Source/JavaScriptCore/wtf/HashTable.h Committed r84718
Alexey Proskuryakov
Comment 5 2011-04-22 21:54:18 PDT
+ HashTableConstIteratorAdapter() {} WebKit style is to have a space between such braces. Please file a bug against the style checker.
David Levin
Comment 6 2011-04-27 18:31:14 PDT
(In reply to comment #5) > + HashTableConstIteratorAdapter() {} > > WebKit style is to have a space between such braces. Please file a bug against the style checker. We really don't have this in the style guide but we commonly flag it. We probably should add it to the style guide. Anyway, this was an easy change to do on my plane flight: https://bugs.webkit.org/show_bug.cgi?id=59665
Note You need to log in before you can comment on or make changes to this bug.