From 394c6f6dd18fcd6eda1ca4c478bfd18a0cc86e6b Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Mon, 27 Mar 2023 19:13:25 +0200 Subject: [PATCH] Update common.h --- include/spdlog/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index e1f021eb..210f8de3 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -187,18 +187,18 @@ template struct wformat_string_wrapper { template - SPDLOG_CONSTEVAL format_string_wrapper(S fmtstr, details::source_location loc = details::source_location::current()) + SPDLOG_CONSTEVAL wformat_string_wrapper(S fmtstr, details::source_location loc = details::source_location::current()) : fmt_{fmtstr} , loc_{loc} {} #if SPDLOG_CPLUSPLUS > 201703L #if !defined(SPDLOG_USE_STD_FORMAT) && FMT_VERSION >= 80000 - format_string_wrapper(fmt::basic_runtime fmtstr, details::source_location loc = details::source_location::current()) + wformat_string_wrapper(fmt::basic_runtime fmtstr, details::source_location loc = details::source_location::current()) : fmt_{fmtstr} , loc_{loc} {} #else - explicit format_string_wrapper(const wchar_t* fmtstr, details::source_location loc = details::source_location::current()) + explicit wformat_string_wrapper(const wchar_t* fmtstr, details::source_location loc = details::source_location::current()) : fmt_{fmtstr} , loc_{loc} {}