Commit d3a8dfb065e177cc746c16e5586df6ca6321924c
Committed by
Henry Schreiner
1 parent
b58e99f2
style: pre-commit.ci fixes
Showing
1 changed file
with
2 additions
and
4 deletions
include/CLI/impl/StringTools_inl.hpp
| @@ -152,10 +152,8 @@ CLI11_INLINE void remove_default_flag_values(std::string &flags) { | @@ -152,10 +152,8 @@ CLI11_INLINE void remove_default_flag_values(std::string &flags) { | ||
| 152 | flags.erase(std::remove(flags.begin(), flags.end(), '!'), flags.end()); | 152 | flags.erase(std::remove(flags.begin(), flags.end(), '!'), flags.end()); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | -CLI11_INLINE std::ptrdiff_t find_member(std::string name, | ||
| 156 | - const std::vector<std::string> names, | ||
| 157 | - bool ignore_case, | ||
| 158 | - bool ignore_underscore) { | 155 | +CLI11_INLINE std::ptrdiff_t |
| 156 | +find_member(std::string name, const std::vector<std::string> names, bool ignore_case, bool ignore_underscore) { | ||
| 159 | auto it = std::end(names); | 157 | auto it = std::end(names); |
| 160 | if(ignore_case) { | 158 | if(ignore_case) { |
| 161 | if(ignore_underscore) { | 159 | if(ignore_underscore) { |