includes/std: Fixed value display error with std::string::NullString

This commit is contained in:
Nik
2024-08-07 22:12:25 +02:00
committed by GitHub
parent 1d7cc537ed
commit 8f1f4911a0

View File

@@ -36,7 +36,7 @@ namespace auto std::string {
@tparam DataType The type of the characters.
*/
struct NullStringBase<DataType> {
DataType string[while(std::mem::read_unsigned($, sizeof(DataType)) != 0x00)];
DataType data[while(std::mem::read_unsigned($, sizeof(DataType)) != 0x00)];
DataType null_terminator;
} [[sealed, format("std::string::impl::format_string"), transform("std::string::impl::format_string")]];