From 402586bf5248a703934bd3cbcdc37c5285ec2fe3 Mon Sep 17 00:00:00 2001 From: robojumper Date: Sun, 3 Aug 2025 15:51:20 +0200 Subject: d_lyt_common_title OK --- include/sized_string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sized_string.h') diff --git a/include/sized_string.h b/include/sized_string.h index 44e26ebe..3d67e74a 100644 --- a/include/sized_string.h +++ b/include/sized_string.h @@ -37,6 +37,10 @@ struct SizedString { return mChars; } + void empty() { + mChars[0] = '\0'; + } + void operator=(const char *src) { if (src != mChars) { mChars[0] = '\0'; -- cgit v1.2.3