From 01b02e90285891c0c26a016f98dc653f7833fe87 Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 16 Dec 2021 19:19:32 +0300 Subject: [PATCH] Remove deprecated EM_LOG_DEMANGLE flag. --- tdutils/td/utils/logging.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tdutils/td/utils/logging.cpp b/tdutils/td/utils/logging.cpp index 85d14dcd5..d5cd7cad8 100644 --- a/tdutils/td/utils/logging.cpp +++ b/tdutils/td/utils/logging.cpp @@ -191,9 +191,8 @@ class DefaultLog final : public LogInterface { #elif TD_EMSCRIPTEN switch (log_level) { case VERBOSITY_NAME(FATAL): - emscripten_log( - EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_DEMANGLE | EM_LOG_FUNC_PARAMS, - "%s", slice.c_str()); + emscripten_log(EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_FUNC_PARAMS, "%s", + slice.c_str()); EM_ASM(throw(UTF8ToString($0)), slice.c_str()); break; case VERBOSITY_NAME(ERROR):