Summary: | HashMap does not work with const pointer keys or values | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Maciej Stachowiak <mjs> | ||||
Component: | WebKit Misc. | Assignee: | Maciej Stachowiak <mjs> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Maciej Stachowiak
2005-12-23 17:56:14 PST
Created attachment 5253 [details]
the fix
Comment on attachment 5253 [details]
the fix
the KDE folks have been removing c-style casts from the kxmlcore code they
imported from us. This just gives them more to remove.
That said, this looks fine. r=me.
I think if you're going to const_cast and reinterpret_cast both, then you may as well just use a C-style cast. |