Skip to content

Commit

Permalink
ICU-21081 Make U_ASSERT C++14 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc authored and jefgen committed May 9, 2020
1 parent 681a7aa commit 715d254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/common/uassert.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 715d254

Please sign in to comment.