We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b35615 commit 9a17d54Copy full SHA for 9a17d54
src/dds.net-connector-cpp.lib/connector/src/internal/inc/macros.h
@@ -6,9 +6,7 @@
6
#include <thread>
7
8
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))
+#define sleep(msec) std::this_thread::sleep_for(std::chrono::milliseconds(msec))
12
13
#define CONSOLE_COLOR_FG_BLACK "\033[0;30m"
14
#define CONSOLE_COLOR_FG_RED "\033[0;31m"
0 commit comments