[clang-tidy] use bool literals (#881)

Found with modernize-use-bool-literals

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-06-15 13:30:37 -07:00
committed by GitHub
parent 4f6d0733c9
commit 4c90f2962e
4 changed files with 9 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ std::vector<Node> LoadAll(std::istream& input) {
std::vector<Node> docs;
Parser parser(input);
while (1) {
while (true) {
NodeBuilder builder;
if (!parser.HandleNextDocument(builder)) {
break;