Fix lf_queue::wait

Remove incorrect loop
This commit is contained in:
Nekotekina 2019-09-13 23:52:18 +03:00
parent 223319dd2e
commit c9170bbb88

View File

@ -357,7 +357,7 @@ public:
void wait() noexcept
{
while (m_head == 0)
if (m_head == 0)
{
m_head.wait(0);
}