From 54330998af1b3d4cb9e80caae3699e5d74a5135d Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 13 Mar 2019 14:25:03 +0000 Subject: [PATCH] Added truncate clear to Clear() --- include/etl/basic_string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/etl/basic_string.h b/include/etl/basic_string.h index 4d91c25b..a30b15f4 100644 --- a/include/etl/basic_string.h +++ b/include/etl/basic_string.h @@ -1927,7 +1927,8 @@ namespace etl void initialise() { current_size = 0; - p_buffer[0] = 0; + p_buffer[0] = 0; + is_truncated = false; } //*************************************************************************