From 7e66ae25d2de6b369a3772302cf030a9c4688355 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:32:13 +0000 Subject: [PATCH] style: pre-commit.ci fixes --- include/CLI/TypeTools.hpp | 8 ++++---- include/CLI/impl/App_inl.hpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/CLI/TypeTools.hpp b/include/CLI/TypeTools.hpp index 428b98da9..9ca46385d 100644 --- a/include/CLI/TypeTools.hpp +++ b/include/CLI/TypeTools.hpp @@ -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); @@ -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); diff --git a/include/CLI/impl/App_inl.hpp b/include/CLI/impl/App_inl.hpp index cf3b4ca79..b66bab7c9 100644 --- a/include/CLI/impl/App_inl.hpp +++ b/include/CLI/impl/App_inl.hpp @@ -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); }