From f12a13bd3ff1412d79321df91a4db9fcc5a84f6c Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Thu, 24 Oct 2019 11:29:41 -0700 Subject: Fix modernize-use-bool-literals modernize-use-bool-literals flagged one violation in the code. Tested: No functional change. Signed-off-by: Ed Tanous Change-Id: Iccfa7a88e7df0b7e7434fadd549c2f816c98a46e --- http/query_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http') diff --git a/http/query_string.h b/http/query_string.h index 0cd21e412c..959eb68587 100644 --- a/http/query_string.h +++ b/http/query_string.h @@ -397,7 +397,7 @@ class QueryString char* element = nullptr; int count = 0; - while (1) + while (true) { element = qsK2v(plus.c_str(), keyValuePairs.data(), static_cast(keyValuePairs.size()), count++); -- cgit v1.2.3