diff options
author | Ed Tanous <ed.tanous@intel.com> | 2019-10-24 21:29:41 +0300 |
---|---|---|
committer | James Feist <james.feist@linux.intel.com> | 2019-11-11 23:26:33 +0300 |
commit | f12a13bd3ff1412d79321df91a4db9fcc5a84f6c (patch) | |
tree | 14fb489d05c422814551c499843ae3a224a69650 | |
parent | 0c0084aa1886fa6ad1fce2cec0a66e8ff879d9d4 (diff) | |
download | bmcweb-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
-rw-r--r-- | http/query_string.h | 2 |
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++); |