Add tests for FMT_ENFORCE_COMPILE_STRING, fix several errors (#2038)
This commit is contained in:
1 parent
aa89e380d9
commit
4fa4c9248f
7 files changed
+145
-60
No files matched your search
@@ -3829,7 +3829,7 @@ inline std::string to_string(T value) {
|
||||
Converts *value* to ``std::wstring`` using the default format for type *T*.
|
||||
*/
|
||||
template <typename T> inline std::wstring to_wstring(const T& value) {
|
||||
return format(L"{}", value);
|
||||
return format(FMT_STRING(L"{}"), value);
|
||||
}
|
||||
|
||||
template <typename Char, size_t SIZE>
|
||||
|
||||
Reference in new issue
Block a user