Skip to content

Commit 5b35615

Browse files
committed
updating macro
1 parent 80b79ee commit 5b35615

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#include <thread>
77

88

9-
#define SLEEP_MS(ms) std::this_thread::sleep_for(std::chrono::milliseconds(ms))
10-
#define SLEEP(msec) SLEEP_MS(msec)
11-
#define sleep(msec) SLEEP(msec)
9+
#define SLEEP_MS(msec) (std::this_thread::sleep_for(std::chrono::milliseconds(msec)))
10+
#define SLEEP(msec) (SLEEP_MS(msec))
11+
#define sleep(msec) (SLEEP(msec))
1212

1313
#define CONSOLE_COLOR_FG_BLACK "\033[0;30m"
1414
#define CONSOLE_COLOR_FG_RED "\033[0;31m"

0 commit comments

Comments
 (0)