From 807ad65cca52b908b664df2c4a9637923d274c6a Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Mon, 27 Mar 2023 20:54:23 +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 771c9a35..fdeae6a0 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -161,7 +161,8 @@ struct format_string_wrapper , loc_{loc} {} #else - SPDLOG_CONSTEXPR format_string_wrapper(const Char* fmtstr, details::source_location loc = details::source_location::current()) + template + SPDLOG_CONSTEXPR format_string_wrapper(S fmtstr, details::source_location loc = details::source_location::current()) : fmt_{fmtstr} , loc_{loc} {}