release编译时修复assert宏相关警告

This commit is contained in:
xiongziliang 2020-05-30 13:52:09 +08:00
parent 932da46c3a
commit aeb2f910c1

View File

@ -26,6 +26,8 @@
#endif
#define assert(exp) Assert_Throw(!(exp), #exp, __FUNCTION__, __FILE__, __LINE__);
#else
#define assert(e) ((void)0)
#endif//NDEBUG
#endif //ZLMEDIAKIT_ASSERT_H