From 277d8b37af53c5182eb538cf8373bdf0a68db331 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 18 Feb 2019 15:27:51 +0100 Subject: [PATCH] Continue porting to new format. --- m-string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m-string.h b/m-string.h index 3d399d44..970125f0 100644 --- a/m-string.h +++ b/m-string.h @@ -1318,8 +1318,8 @@ namespace m_string { }; inline m_aligned_string(const char lstr[]) { - this->string->size = N -1; - this->string->alloc = N; + this->string->u.heap.size = N -1; + this->string->u.heap.alloc = N; memcpy (this->str, lstr, N); this->string->ptr = this->str; }