From bc9abbed71896ca97bd9655aa9f28be9f3ee6f67 Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Mon, 27 Mar 2023 07:45:07 +0200 Subject: [PATCH] Update common.h --- include/spdlog/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index f0228ba1..465e848a 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -138,7 +138,8 @@ struct source_loc template struct format_string_wrapper { - SPDLOG_CONSTEXPR format_string_wrapper(const char *fmt, details::source_location loc = details::source_location::current()) + template + SPDLOG_CONSTEXPR format_string_wrapper(S fmt, details::source_location loc = details::source_location::current()) : fmt_{fmt} , loc_{loc} {}