We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73fcb70 commit e262b9eCopy full SHA for e262b9e
cocos/base/CCData.cpp
@@ -108,8 +108,8 @@ ssize_t Data::getSize() const
108
109
ssize_t Data::copy(const unsigned char* bytes, const ssize_t size)
110
{
111
- CCASSERT(size >= 0, "copy size should be non-negative");
112
- CCASSERT(bytes, "bytes should not be nullptr");
+ //CCASSERT(size >= 0, "copy size should be non-negative");
+ //CCASSERT(bytes, "bytes should not be nullptr");
113
114
if (size <= 0) return 0;
115
0 commit comments