Remove deprecated EM_LOG_DEMANGLE flag.

This commit is contained in:
levlam 2021-12-16 19:19:32 +03:00
parent 745ecb1826
commit 01b02e9028

View File

@ -191,9 +191,8 @@ class DefaultLog final : public LogInterface {
#elif TD_EMSCRIPTEN #elif TD_EMSCRIPTEN
switch (log_level) { switch (log_level) {
case VERBOSITY_NAME(FATAL): case VERBOSITY_NAME(FATAL):
emscripten_log( emscripten_log(EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_FUNC_PARAMS, "%s",
EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_DEMANGLE | EM_LOG_FUNC_PARAMS, slice.c_str());
"%s", slice.c_str());
EM_ASM(throw(UTF8ToString($0)), slice.c_str()); EM_ASM(throw(UTF8ToString($0)), slice.c_str());
break; break;
case VERBOSITY_NAME(ERROR): case VERBOSITY_NAME(ERROR):