mirror of
https://github.com/libAthena/athena.git
synced 2025-07-05 12:45:59 +00:00
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…
x
Reference in New Issue
Block a user