Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Nov 22, 2024
1 parent c3cbb51 commit 10d7104
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/ada/unicode-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ ada_really_inline size_t percent_encode_index(const std::string_view input,
size_t i = 0;
for (; i + 8 <= size; i += 8) {
unsigned char chunk[8];
std::memcpy(&chunk, data + i, 8); // entices compiler to unconditionally process 8 characters
std::memcpy(&chunk, data + i,
8); // entices compiler to unconditionally process 8 characters

// Check 8 characters at once
for (size_t j = 0; j < 8; j++) {
Expand Down

0 comments on commit 10d7104

Please sign in to comment.