From 45f3b3c1c71fb640b0f0e61c9dcfa6fc6229257c Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Mon, 27 Mar 2023 18:10:48 +0200 Subject: [PATCH] fix msvc wchar_t ambiguity --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index b372af31..5a9e059d 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -156,7 +156,7 @@ struct format_string_wrapper : fmt_{fmtstr} , loc_{loc} {} -#if !defined(SPDLOG_USE_STD_FORMAT) && FMT_VERSION >= 80000 +#if SPDLOG_CPLUSPLUS > 201703L && !defined(SPDLOG_USE_STD_FORMAT) && FMT_VERSION >= 80000 format_string_wrapper(fmt::basic_runtime fmtstr, details::source_location loc = details::source_location::current()) : fmt_{fmtstr} , loc_{loc}