diff --git a/tdutils/td/utils/port/thread.h b/tdutils/td/utils/port/thread.h index e1b7b167f..35053a32f 100644 --- a/tdutils/td/utils/port/thread.h +++ b/tdutils/td/utils/port/thread.h @@ -22,9 +22,6 @@ namespace td { using thread = detail::ThreadStl; namespace this_thread = detail::this_thread_stl; #elif TD_THREAD_UNSUPPORTED - namespace this_thread { - inline void yield() {} - } #else #error "Thread's implementation is not defined" #endif