This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
完全没有问题,assert本身就是供调试时使用的。
这个帖子供参考,release时,assert基本上就不参加编译了。