[-] Bytebuf: Remove linear-buffer only constraint

This commit is contained in:
Reece Wilson 2023-10-24 11:30:36 +01:00
parent 076e255432
commit 6acf21009d

View File

@ -392,7 +392,8 @@ namespace Aurora::Memory
{
return this->GetLinearWriteable(length);
}
else if (!this->flagCircular && ((this->length == 0 && this->flagExpandable) || this->flagAlwaysExpandable))
else if ((this->length == 0 && this->flagExpandable) ||
this->flagAlwaysExpandable)
{
if (!this->Resize(length))
{