We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a1f26 commit 8ae0c09Copy full SHA for 8ae0c09
include/boost/json/detail/digest.hpp
@@ -56,11 +56,14 @@ digest(
56
57
std::memset(temp, 0, step);
58
std::copy_n(b, n, temp);
59
- BOOST_ASSERT( std::next(b, n) == e );
+ if( std::next(b, n) != e )
60
+ {
61
+ abort();
62
+ }
63
64
hash_t batch;
65
std::memcpy(&batch, temp, step);
- hash = (batch ^ hash) * prime;
66
+ // hash = (batch ^ hash) * prime;
67
68
return hash;
69
}
0 commit comments