clang-tidy: use bool literals
Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -910,7 +910,7 @@ bool Lexer::isPath (std::string& token, Lexer::Type& type)
|
||||
std::size_t marker = _cursor;
|
||||
int slashCount = 0;
|
||||
|
||||
while (1)
|
||||
while (true)
|
||||
{
|
||||
if (_text[marker] == '/')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user