[gcc] Fix -Wempty-body warning. NFC.

This commit is contained in:
Marek Kurdej 2020-11-15 16:17:52 +01:00
parent 0c119ba8a8
commit d2acf22927
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ struct __libcpp_timed_backoff_policy {
else if(__elapsed > chrono::microseconds(4))
__libcpp_thread_yield();
else
; // poll
{} // poll
return false;
}
};

View File

@ -1525,7 +1525,7 @@ struct __libcpp_atomic_wait_backoff_impl {
else if(__elapsed > chrono::microseconds(4))
__libcpp_thread_yield();
else
; // poll
{} // poll
return false;
}
};