remove assert (#19047)

This commit is contained in:
Arnold 2018-09-17 10:21:43 +08:00 committed by minggo
parent 2c37cc5ac6
commit 3cad2a85d4
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ ssize_t Data::copy(const unsigned char* bytes, const ssize_t size)
void Data::fastSet(unsigned char* bytes, const ssize_t size) void Data::fastSet(unsigned char* bytes, const ssize_t size)
{ {
CCASSERT(size >= 0, "fastSet size should be non-negative"); CCASSERT(size >= 0, "fastSet size should be non-negative");
CCASSERT(bytes, "bytes should not be nullptr"); //CCASSERT(bytes, "bytes should not be nullptr");
_bytes = bytes; _bytes = bytes;
_size = size; _size = size;
} }