wofo
This commit is contained in:
parent
5872ee26a6
commit
bbf32bd0f2
5 changed files with 54 additions and 87 deletions
|
@ -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)));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue