Update common.h

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

@ -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 <typename S>
SPDLOG_CONSTEXPR format_string_wrapper(S fmtstr, details::source_location loc = details::source_location::current())
: fmt_{fmtstr}
, loc_{loc}
{}

Loading…
Cancel
Save