Use fmt(s) as an alias for FMT_STRING(s)

This commit is contained in:
Victor Zverovich 2018-03-09 15:40:40 -08:00
parent 80e57c7a3d
commit ca93be130a

View File

@ -3527,6 +3527,10 @@ operator"" _a(const wchar_t *s, std::size_t) { return {s}; }
return S{}; \
}()
#ifndef FMT_NO_FMT_STRING_ALIAS
# define fmt(s) FMT_STRING(s)
#endif
#ifdef FMT_HEADER_ONLY
# define FMT_FUNC inline
# include "format.cc"