mirror of https://github.com/libAthena/athena.git
Relax 0-size buffer error for MemoryWriter
This commit is contained in:
parent
0fa861b708
commit
57e5196e72
|
@ -26,13 +26,6 @@ MemoryWriter::MemoryWriter(atUint8* data, atUint64 length, bool takeOwnership)
|
|||
setError();
|
||||
return;
|
||||
}
|
||||
|
||||
if (length == 0)
|
||||
{
|
||||
atError("length cannot be 0");
|
||||
setError();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
MemoryWriter::~MemoryWriter()
|
||||
|
|
Loading…
Reference in New Issue