mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
1ee5073e80
In more recent versions of C++, it is possible to declare a C union with non-POD members, so long as there is an explicit destructor/constructor responsible for managing the members. This patch switches to using the variant types directly within the union, rather than using AlignedStorage to store inline members. This requires some tweaks to how the union is declared (specifically, it must be an anonymous inline union so that it shares the main union type's constructor/destructor, otherwise explicit ctors/dtors would need to be declared for the bare union type). Overall, this change should make no functional difference. Differential Revision: https://phabricator.services.mozilla.com/D216329 |
||
---|---|---|
.. | ||
ipdl | ||
test | ||
ipdl.py | ||
Makefile.in | ||
message-metadata.ini | ||
moz.build | ||
msgtype-components | ||
sync-messages.ini |