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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user