We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc019f7 commit a3bd920Copy full SHA for a3bd920
include/boost/json/detail/utf8.hpp
@@ -87,7 +87,6 @@ is_valid_utf8(const char* p, uint16_t first)
87
// 3 bytes, second byte [A0, BF]
88
case 2:
89
v = load_little_endian<3>(p);
90
- std::memcpy(&v, p, 3);
91
return (v & 0xC0E000) == 0x80A000;
92
93
// 3 bytes, second byte [80, BF]
0 commit comments