Make utf variable const pointer

This commit is contained in:
Ervin Hegedus 2025-03-12 22:07:46 +01:00
parent dc40880663
commit d3c1ad7177
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -46,7 +46,7 @@ static inline bool encode(std::string &value) {
int unicode_len = 0;
unsigned int d = 0;
unsigned char c;
auto utf = &input[i];
const auto* utf = &input[i];
c = *utf;