Remove warnings (#284)

This commit is contained in:
flagarde
2021-04-20 00:25:06 +08:00
committed by GitHub
parent 3b19b0eeca
commit 0e0a748037
3 changed files with 4 additions and 3 deletions

View File

@ -191,7 +191,6 @@ namespace ix
// Make sure the OS send buffer is flushed before moving on
do
{
size_t bufferedAmount = client->bufferedAmount();
std::chrono::duration<double, std::milli> duration(500);
std::this_thread::sleep_for(duration);
} while (client->bufferedAmount() != 0);