mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1165731 - Remove unnecessary SetCapacity call in variant_storage_traits::storage_conversion. r=mak
This commit is contained in:
parent
caa53b1f59
commit
1627a598b5
@ -262,7 +262,6 @@ struct variant_storage_traits<uint8_t[], false>
|
||||
static inline void storage_conversion(ConstructorType aBlob, StorageType* _outData)
|
||||
{
|
||||
_outData->Clear();
|
||||
_outData->SetCapacity(aBlob.second);
|
||||
(void)_outData->AppendElements(static_cast<const uint8_t *>(aBlob.first),
|
||||
aBlob.second);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user