Util+Test: Change size_type to size_t

The specialized size_type type is just an alias for size_t.
This commit is contained in:
Riyyi
2021-09-06 01:59:08 +02:00
parent 68cdd625b4
commit 1366bf14b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ bool ArgParser::parseShortOption(std::string_view option, std::string_view next)
char c;
std::string_view value;
for (std::string_view::size_type i = 0; i < option.size(); ++i) {
for (size_t i = 0; i < option.size(); ++i) {
c = option.at(i);
printf("short '%c'\n", c);