Update fmtlib

This commit is contained in:
Jack Andersen
2020-04-11 12:46:42 -10:00
parent ebda6add23
commit 30fe237210
16 changed files with 101 additions and 103 deletions

View File

@@ -5,7 +5,6 @@
#define FMT_STRING_ALIAS 1
#define FMT_ENFORCE_COMPILE_STRING 1
#define FMT_USE_GRISU 0
#include <fmt/format.h>
#ifdef _MSC_VER

View File

@@ -661,7 +661,7 @@ public:
utf8proc_int32_t wc;
utf8proc_ssize_t len = utf8proc_iterate(buf, -1, &wc);
if (len < 0) {
atWarning(fmt("invalid UTF-8 character while decoding"));
atWarning(FMT_STRING("invalid UTF-8 character while decoding"));
return;
}
buf += len;
@@ -675,7 +675,7 @@ public:
if (*buf) {
utf8proc_ssize_t len = utf8proc_iterate(buf, -1, &wc);
if (len < 0) {
atWarning(fmt("invalid UTF-8 character while decoding"));
atWarning(FMT_STRING("invalid UTF-8 character while decoding"));
return;
}
buf += len;
@@ -709,7 +709,7 @@ public:
utf8proc_int32_t wc;
utf8proc_ssize_t len = utf8proc_iterate(buf, -1, &wc);
if (len < 0) {
atWarning(fmt("invalid UTF-8 character while decoding"));
atWarning(FMT_STRING("invalid UTF-8 character while decoding"));
return;
}
buf += len;
@@ -723,7 +723,7 @@ public:
if (*buf) {
utf8proc_ssize_t len = utf8proc_iterate(buf, -1, &wc);
if (len < 0) {
atWarning(fmt("invalid UTF-8 character while decoding"));
atWarning(FMT_STRING("invalid UTF-8 character while decoding"));
return;
}
buf += len;
@@ -758,7 +758,7 @@ public:
utf8proc_int32_t wc;
utf8proc_ssize_t len = utf8proc_iterate(buf, -1, &wc);
if (len < 0) {
atWarning(fmt("invalid UTF-8 character while decoding"));
atWarning(FMT_STRING("invalid UTF-8 character while decoding"));
return;
}
buf += len;
@@ -772,7 +772,7 @@ public:
if (*buf) {
utf8proc_ssize_t len = utf8proc_iterate(buf, -1, &wc);
if (len < 0) {
atWarning(fmt("invalid UTF-8 character while decoding"));
atWarning(FMT_STRING("invalid UTF-8 character while decoding"));
return;
}
buf += len;