Problem: formatting not up to date

Solution: run make clang-format-diff
This commit is contained in:
Luca Boccassi
2020-02-23 17:38:29 +00:00
parent 09476b3d7f
commit 4f45ac135a
5 changed files with 11 additions and 8 deletions

0
include/zmq.h Executable file → Normal file
View File

View File

@@ -77,7 +77,10 @@
// This macro is used to avoid-variable warning. If used with an expression, // This macro is used to avoid-variable warning. If used with an expression,
// the sizeof is not evaluated to avoid polluting the assembly code. // the sizeof is not evaluated to avoid polluting the assembly code.
#ifdef NDEBUG #ifdef NDEBUG
#define ASSERT_EXPR_SAFE(x) do { (void)sizeof(x);} while (0) #define ASSERT_EXPR_SAFE(x) \
do { \
(void) sizeof (x); \
} while (0)
#else #else
#define ASSERT_EXPR_SAFE(x) assert (x) #define ASSERT_EXPR_SAFE(x) assert (x)
#endif #endif

0
src/tcp_connecter.cpp Executable file → Normal file
View File

0
tests/test_reconnect_options.cpp Executable file → Normal file
View File