This commit is contained in:
Mars 2025-05-09 23:37:04 -04:00
parent 5872ee26a6
commit bbf32bd0f2
5 changed files with 54 additions and 87 deletions

View file

@ -2117,7 +2117,7 @@ namespace argparse {
};
fn consume_digits = [=](StringView sd) -> StringView {
const char* const it = std::ranges::find_if_not(sd, is_digit);
const auto it = std::ranges::find_if_not(sd, is_digit);
return sd.substr(static_cast<usize>(it - std::begin(sd)));
};