mirror of https://github.com/axmolengine/axmol.git
remove assert (#19047)
This commit is contained in:
parent
2c37cc5ac6
commit
3cad2a85d4
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue