mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-21081 Make U_ASSERT C++14 compatible
This commit is contained in:
parent
681a7aa451
commit
715d254a02
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue