Skip to content

Commit 8ae0c09

Browse files
committed
temp2
1 parent b7a1f26 commit 8ae0c09

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: include/boost/json/detail/digest.hpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,14 @@ digest(
5656

5757
std::memset(temp, 0, step);
5858
std::copy_n(b, n, temp);
59-
BOOST_ASSERT( std::next(b, n) == e );
59+
if( std::next(b, n) != e )
60+
{
61+
abort();
62+
}
6063

6164
hash_t batch;
6265
std::memcpy(&batch, temp, step);
63-
hash = (batch ^ hash) * prime;
66+
// hash = (batch ^ hash) * prime;
6467

6568
return hash;
6669
}

0 commit comments

Comments
 (0)