DescriptionImported Optional from Chromium with some modifications.
Specifically I reimplemented the OptionalStorage class it uses with a
union, rather than their AlignedMemory class. This means less code has
to be moved over and it's also a much more standard solution for this
type of thing.
Patch Set 1 #
Total comments: 3
Patch Set 2 : Explicitly implemented default constructor, since it gets implicitly deleted on some platforms. #Patch Set 3 : Updated DecoderDatabase::DecoderInfo for new rtc::Optional a bit more. #Patch Set 4 : Added an empty member to the OptionalStorage union, to make the union always initializable. #
Messages
Total messages: 7 (2 generated)
|