Summary: | GCC complains about a memcpy in SmallSet.h | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eleni Maria Stea <estea> | ||||
Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, darin, estea, ews-watchlist, mcatanzaro, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Local Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Eleni Maria Stea
2021-05-24 00:57:16 PDT
Created attachment 429512 [details]
Patch
Comment on attachment 429512 [details]
Patch
Found this when searching for -Wclass-memaccess warnings. It will need to be rebased because I added void casts at some point to suppress this warning. Your solution is better.
Comment on attachment 429512 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429512&action=review > Source/WTF/wtf/SmallSet.h:72 > + this->m_size = other.m_size; > + this->m_capacity = other.m_capacity; > + this->m_inline = other.m_inline; We can also omit the "this->" here. |