[*] Where'd my IsEmpty() go during refactoring?

This commit is contained in:
Reece Wilson 2022-01-21 17:20:07 +00:00
parent ac467734a0
commit ed2b956b38

View File

@ -119,6 +119,12 @@ namespace Aurora::Memory
return !IsEmpty() && !HasStreamError();
}
bool ByteBuffer::IsEmpty() const
{
return !length || !base;
}
ByteBuffer &ByteBuffer::operator =(ByteBuffer && other)
{
Reset();