Update common.h

pull/2690/head
M. Galib Uludag 2 years ago committed by GitHub
parent 45f3b3c1c7
commit e379e1be09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,7 +156,8 @@ struct format_string_wrapper
: fmt_{fmtstr} : fmt_{fmtstr}
, loc_{loc} , loc_{loc}
{} {}
#if SPDLOG_CPLUSPLUS > 201703L && !defined(SPDLOG_USE_STD_FORMAT) && FMT_VERSION >= 80000 #if SPDLOG_CPLUSPLUS > 201703L
#if !defined(SPDLOG_USE_STD_FORMAT) && FMT_VERSION >= 80000
format_string_wrapper(fmt::basic_runtime<Char> fmtstr, details::source_location loc = details::source_location::current()) format_string_wrapper(fmt::basic_runtime<Char> fmtstr, details::source_location loc = details::source_location::current())
: fmt_{fmtstr} : fmt_{fmtstr}
, loc_{loc} , loc_{loc}
@ -166,6 +167,7 @@ struct format_string_wrapper
: fmt_{fmtstr} : fmt_{fmtstr}
, loc_{loc} , loc_{loc}
{} {}
#endif
#endif #endif
T fmt() T fmt()
{ {

Loading…
Cancel
Save