Remove this_thread::yield for TD_THREAD_UNSUPPORTED.

This commit is contained in:
levlam 2022-09-14 14:10:33 +03:00
parent 124b0dee6c
commit 03db53281c
1 changed files with 0 additions and 3 deletions

View File

@ -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