Skip to content

Commit a3bd920

Browse files
committed
fix s390x build
1 parent cc019f7 commit a3bd920

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/boost/json/detail/utf8.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ is_valid_utf8(const char* p, uint16_t first)
8787
// 3 bytes, second byte [A0, BF]
8888
case 2:
8989
v = load_little_endian<3>(p);
90-
std::memcpy(&v, p, 3);
9190
return (v & 0xC0E000) == 0x80A000;
9291

9392
// 3 bytes, second byte [80, BF]

0 commit comments

Comments
 (0)