mirror of
https://github.com/libAthena/athena.git
synced 2025-12-08 13:15:05 +00:00
Update fmtlib
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user