Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras committed Jun 16, 2023
1 parent 4c98272 commit 5baf791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/json/detail/digest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ digest(
std::memset(temp, 0, step);
std::copy_n(b, n, temp);

std::memcpy(&batch, temp, step);
hash = (batch ^ hash) * prime;
// std::memcpy(&batch, temp, step);
// hash = (batch ^ hash) * prime;

return hash;
}
Expand Down

0 comments on commit 5baf791

Please sign in to comment.