fix format string wrapper ambiguity

pull/2690/head
Muhammed Galib Uludag 2 years ago
parent 6b45e9fb1b
commit 57e2773d49

@ -162,11 +162,12 @@ struct format_string_wrapper
: fmt_{fmtstr} : fmt_{fmtstr}
, loc_{loc} , loc_{loc}
{} {}
#endif #else
explicit format_string_wrapper(const Char* fmtstr, details::source_location loc = details::source_location::current()) explicit format_string_wrapper(const Char* fmtstr, details::source_location loc = details::source_location::current())
: fmt_{fmtstr} : fmt_{fmtstr}
, loc_{loc} , loc_{loc}
{} {}
#endif
T fmt() T fmt()
{ {
return fmt_; return fmt_;

Loading…
Cancel
Save