From 8f1f4911a00522a90a65371889f6f37e5cc613b3 Mon Sep 17 00:00:00 2001 From: Nik Date: Wed, 7 Aug 2024 22:12:25 +0200 Subject: [PATCH] includes/std: Fixed value display error with std::string::NullString --- includes/std/string.pat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/std/string.pat b/includes/std/string.pat index 01eebdb..0ce755d 100644 --- a/includes/std/string.pat +++ b/includes/std/string.pat @@ -36,7 +36,7 @@ namespace auto std::string { @tparam DataType The type of the characters. */ struct NullStringBase { - 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")]];