From e9344434eb51cb61a4ce4d0cc4d7c295cdc364e9 Mon Sep 17 00:00:00 2001 From: Bailey Chittle Date: Mon, 13 Mar 2023 13:07:33 -0400 Subject: [PATCH] change string view to spdlogs, remove bool type --- include/spdlog/details/log_attr.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/spdlog/details/log_attr.h b/include/spdlog/details/log_attr.h index ba2a6070..d02df72c 100644 --- a/include/spdlog/details/log_attr.h +++ b/include/spdlog/details/log_attr.h @@ -11,7 +11,7 @@ namespace details { template struct is_string - : public std::integral_constant::value || std::is_convertible::value> + : public std::integral_constant::value || std::is_convertible::value> {}; template @@ -37,12 +37,6 @@ public: : key(std::string(k)) , value(std::to_string(v)) {} - - template::value, key_t>::type * = nullptr> - attr(key_t const &k, bool const v) - : key(std::string(k)) - , value(v ? "true" : "false") - {} }; } // namespace details