unbreak unit tests

pull/1272/head
Jeff Becker 4 years ago
parent f0eca908a4
commit 403bc74493
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -274,7 +274,9 @@ namespace llarp
std::size_t
operator()(const AlignedBuffer& buf) const noexcept
{
return *reinterpret_cast<const std::size_t*>(buf.data());
std::size_t h = 0;
std::memcpy(&h, buf.data(), sizeof(std::size_t));
return h;
}
};

Loading…
Cancel
Save