summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-10-24 21:29:41 +0300
committerJames Feist <james.feist@linux.intel.com>2019-11-11 23:26:33 +0300
commitf12a13bd3ff1412d79321df91a4db9fcc5a84f6c (patch)
tree14fb489d05c422814551c499843ae3a224a69650 /http
parent0c0084aa1886fa6ad1fce2cec0a66e8ff879d9d4 (diff)
downloadbmcweb-f12a13bd3ff1412d79321df91a4db9fcc5a84f6c.tar.xz
Fix modernize-use-bool-literals
modernize-use-bool-literals flagged one violation in the code. Tested: No functional change. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Iccfa7a88e7df0b7e7434fadd549c2f816c98a46e
Diffstat (limited to 'http')
-rw-r--r--http/query_string.h2
1 files changed, 1 insertions, 1 deletions
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<int>(keyValuePairs.size()), count++);