Skip to content

Commit 715d254

Browse files
sffcjefgen
authored andcommitted
ICU-21081 Make U_ASSERT C++14 compatible
1 parent 681a7aa commit 715d254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

icu4c/source/common/uassert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# include <assert.h>
3333
# define U_ASSERT(exp) assert(exp)
3434
#elif U_CPLUSPLUS_VERSION
35-
# define U_ASSERT(exp) void()
35+
# define U_ASSERT(exp) (void)0
3636
#else
3737
# define U_ASSERT(exp)
3838
#endif

0 commit comments

Comments
 (0)