Skip to content

Commit

Permalink
fix s390x build
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras committed Jun 10, 2022
1 parent eb3d37a commit 04ab069
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/boost/json/detail/utf8.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ is_valid_utf8(const char* p, uint16_t first)
// 3 bytes, second byte [A0, BF]
case 2:
v = load_little_endian<3>(p);
std::memcpy(&v, p, 3);
return (v & 0xC0E000) == 0x80A000;

// 3 bytes, second byte [80, BF]
Expand Down

0 comments on commit 04ab069

Please sign in to comment.