Update MiscUtils.cpp

develop
Ryan Williams 2024-01-04 06:36:15 -08:00 committed by GitHub
parent 82f9c8823c
commit f8ba839139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -183,7 +183,7 @@ std::string capitalize_string_words(const std::string& str)
int32_t bracket_count = 0; int32_t bracket_count = 0;
bool conf; bool conf;
for (int32_t s = 0; s < out.length(); s++) for (size_t s = 0; s < out.length(); s++)
{ {
if (out[s] == '[') { ++bracket_count; continue; } if (out[s] == '[') { ++bracket_count; continue; }
else if (out[s] == ']') { --bracket_count; continue; } else if (out[s] == ']') { --bracket_count; continue; }