Update common.h

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

@ -138,7 +138,8 @@ struct source_loc
template<typename T>
struct format_string_wrapper
{
SPDLOG_CONSTEXPR format_string_wrapper(const char *fmt, details::source_location loc = details::source_location::current())
template <typename S>
SPDLOG_CONSTEXPR format_string_wrapper(S fmt, details::source_location loc = details::source_location::current())
: fmt_{fmt}
, loc_{loc}
{}

Loading…
Cancel
Save