Skip to content

Commit

Permalink
style: pre-commit.ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 5, 2024
1 parent 068e9b2 commit 7e66ae2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/CLI/TypeTools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,8 @@ bool integral_conversion(const std::string &input, T &output) noexcept {
}
if(input.compare(0, 2, "0b") == 0 || input.compare(0, 2, "0B") == 0) {
// LCOV_EXCL_START
// In some new compilers including the coverage testing one binary strings are handled properly in strtoull automatically
// so this coverage is missing but is well tested in other compilers
// In some new compilers including the coverage testing one binary strings are handled properly in strtoull
// automatically so this coverage is missing but is well tested in other compilers
val = nullptr;
errno = 0;
output_ll = std::strtoull(input.c_str() + 2, &val, 2);
Expand Down Expand Up @@ -971,8 +971,8 @@ bool integral_conversion(const std::string &input, T &output) noexcept {
}
if(input.compare(0, 2, "0b") == 0 || input.compare(0, 2, "0B") == 0) {
// LCOV_EXCL_START
// In some new compilers including the coverage testing one binary strings are handled properly in strtoll automatically
// so this coverage is missing but is well tested in other compilers
// In some new compilers including the coverage testing one binary strings are handled properly in strtoll
// automatically so this coverage is missing but is well tested in other compilers
val = nullptr;
errno = 0;
output_ll = std::strtoll(input.c_str() + 2, &val, 2);
Expand Down
2 changes: 1 addition & 1 deletion include/CLI/impl/App_inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ CLI11_INLINE void retire_option(App *app, const std::string &option_name) {
return std::string();
},
""};
//LCOV_EXCL_STOP
// LCOV_EXCL_STOP
retired_warning.application_index(0);
opt2->check(retired_warning);
}
Expand Down

0 comments on commit 7e66ae2

Please sign in to comment.