ICU-21081 Make U_ASSERT C++14 compatible

This commit is contained in:
Shane F. Carr 2020-04-24 19:23:40 -05:00 committed by Jeff Genovy
parent 681a7aa451
commit 715d254a02

View File

@ -32,7 +32,7 @@
# include <assert.h>
# define U_ASSERT(exp) assert(exp)
#elif U_CPLUSPLUS_VERSION
# define U_ASSERT(exp) void()
# define U_ASSERT(exp) (void)0
#else
# define U_ASSERT(exp)
#endif