From 4dca2c04665679d64fe65d7c3e557389f45bff52 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 20 May 2021 14:16:58 +0200 Subject: [PATCH] Replace a handrolled memcpy with an actual call to memcpy --- components/to_utf8/to_utf8.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/to_utf8/to_utf8.cpp b/components/to_utf8/to_utf8.cpp index 708f4b41aa..f7dc33fcbf 100644 --- a/components/to_utf8/to_utf8.cpp +++ b/components/to_utf8/to_utf8.cpp @@ -225,8 +225,8 @@ void Utf8Encoder::copyFromArray(unsigned char ch, char* &out) const const signed char *in = translationArray + ch*6; int len = *(in++); - for (int i=0; i