updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2025-08-26 20:20:39 -05:00
parent 1d7e96f3a4
commit cae269d4d6

View File

@@ -189,7 +189,7 @@ auto to_utf8(std::wstring_view str) -> std::string {
std::array<std::uint8_t, U8_MAX_LENGTH> buf{}; std::array<std::uint8_t, U8_MAX_LENGTH> buf{};
std::int32_t off{0}; std::int32_t off{0};
auto err{false}; auto err{false};
U8_APPEND(buf.data(), off, U8_MAX_LENGTH, uni_ch, err); U8_APPEND(buf, off, U8_MAX_LENGTH, uni_ch, err);
if (err || off <= 0) { if (err || off <= 0) {
throw std::runtime_error("to_utf8: U8_APPEND failed"); throw std::runtime_error("to_utf8: U8_APPEND failed");
} }
@@ -205,7 +205,7 @@ auto to_utf8(std::wstring_view str) -> std::string {
std::array<std::uint8_t, U8_MAX_LENGTH> buf{}; std::array<std::uint8_t, U8_MAX_LENGTH> buf{};
std::int32_t off{0}; std::int32_t off{0};
auto err{false}; auto err{false};
U8_APPEND(buf.data(), off, U8_MAX_LENGTH, uni_char, err); U8_APPEND(buf, off, U8_MAX_LENGTH, uni_char, err);
if (err || off <= 0) { if (err || off <= 0) {
throw std::runtime_error("to_utf8: U8_APPEND failed"); throw std::runtime_error("to_utf8: U8_APPEND failed");
} }