mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Fix clang-tidy warning
This commit is contained in:
parent
f2e7db6090
commit
3a6118e4de
@ -1186,8 +1186,9 @@ public:
|
|||||||
|
|
||||||
if (first == eof) {
|
if (first == eof) {
|
||||||
return true;
|
return true;
|
||||||
} else if (prefix_chars.find(static_cast<char>(first)) !=
|
}
|
||||||
std::string_view::npos) {
|
if (prefix_chars.find(static_cast<char>(first)) !=
|
||||||
|
std::string_view::npos) {
|
||||||
name.remove_prefix(1);
|
name.remove_prefix(1);
|
||||||
if (name.empty()) {
|
if (name.empty()) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user