refactor(Core): apply clang-tidy modernize-use-bool-literals (#3826)

This commit is contained in:
Francesco Borzì
2020-12-08 01:37:41 +01:00
committed by GitHub
parent b1f108900d
commit 9266ac6bf5
3 changed files with 4 additions and 4 deletions

View File

@@ -213,7 +213,7 @@ void AuthSocket::OnRead()
uint32 challengesInARowRealmList = 0;
uint8 _cmd;
while (1)
while (true)
{
if (!socket().recv_soft((char*)&_cmd, 1))
return;