Continue porting to new format.

This commit is contained in:
Patrick Pelissier committed 2019-04-20 12:33:08 +02:00
1 parent 7b83761ef4
commit 277d8b37af
1 file changed
+2 -2
+2 -2
View File
@@ -1318,8 +1318,8 @@ namespace m_string {
}; };
inline m_aligned_string(const char lstr[]) inline m_aligned_string(const char lstr[])
{ {
this->string->size = N -1; this->string->u.heap.size = N -1;
this->string->alloc = N; this->string->u.heap.alloc = N;
memcpy (this->str, lstr, N); memcpy (this->str, lstr, N);
this->string->ptr = this->str; this->string->ptr = this->str;
} }