Relax 0-size buffer error for MemoryWriter

This commit is contained in:
Jack Andersen 2017-10-27 21:07:34 -10:00
parent 0fa861b708
commit 57e5196e72
1 changed files with 0 additions and 7 deletions

View File

@ -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()