diff options
author | chai <chaifix@163.com> | 2021-10-26 09:48:47 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-26 09:48:47 +0800 |
commit | ef7aedf5f272c52247d8ee9522d7b2896d21af63 (patch) | |
tree | c1259190bd51ed1225017507cd01612cc5a73a8c /Runtime/Debug | |
parent | e7c760c884d90ef22fe46508b18081fe6e0f9291 (diff) |
*misc
Diffstat (limited to 'Runtime/Debug')
-rw-r--r-- | Runtime/Debug/Log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Runtime/Debug/Log.cpp b/Runtime/Debug/Log.cpp index a84337b..4d28502 100644 --- a/Runtime/Debug/Log.cpp +++ b/Runtime/Debug/Log.cpp @@ -42,7 +42,7 @@ void log_open_tag(std::string tag) void log_info(std::string log) { - _lock(s_Mutex) { + Lock(s_Mutex) { #ifdef GAMELAB_WIN if (s_ConsoleHandle == 0) { s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE); @@ -57,7 +57,7 @@ void log_info(std::string log) void log_warning(std::string log) { - _lock(s_Mutex) { + Lock(s_Mutex) { #ifdef GAMELAB_WIN if (s_ConsoleHandle == 0) { s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE); @@ -72,7 +72,7 @@ void log_warning(std::string log) void log_error(std::string log) { - _lock(s_Mutex) { + Lock(s_Mutex) { #ifdef GAMELAB_WIN if (s_ConsoleHandle == 0) { s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE); |