Skip to content

Commit acdef61

Browse files
committed
using parentheses around macro
1 parent 9a17d54 commit acdef61

File tree

1 file changed

+1
-1
lines changed
  • src/dds.net-connector-cpp.lib/connector/src/internal/inc

1 file changed

+1
-1
lines changed

src/dds.net-connector-cpp.lib/connector/src/internal/inc/macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <thread>
77

88

9-
#define sleep(msec) std::this_thread::sleep_for(std::chrono::milliseconds(msec))
9+
#define sleep(msec) {std::this_thread::sleep_for(std::chrono::milliseconds(msec));}
1010

1111
#define CONSOLE_COLOR_FG_BLACK "\033[0;30m"
1212
#define CONSOLE_COLOR_FG_RED "\033[0;31m"

0 commit comments

Comments
 (0)