[-] Bytebuf: Remove linear-buffer only constraint
This commit is contained in:
parent
076e255432
commit
6acf21009d
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user