From 64091b7a256d5c95b637404abe3aa8fc9be264d6 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 15 Jan 2024 15:03:44 -0800 Subject: [PATCH] Fix naming --- include/fmt/base.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index fb905183..f1d853f3 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -600,15 +600,15 @@ struct has_to_string_view< T, void_t()))>> : std::true_type {}; -template struct string_literal { - static constexpr CharT value[sizeof...(C)] = {C...}; - constexpr operator basic_string_view() const { +template struct string_literal { + static constexpr Char value[sizeof...(C)] = {C...}; + constexpr operator basic_string_view() const { return {value, sizeof...(C)}; } }; #if FMT_CPLUSPLUS < 201703L -template -constexpr CharT string_literal::value[sizeof...(C)]; +template +constexpr Char string_literal::value[sizeof...(C)]; #endif enum class type {