зеркало из https://github.com/microsoft/CCF.git
Fix compilation error with clang 11 (#4913)
This commit is contained in:
Родитель
6d63333355
Коммит
f2db0b69f3
|
@ -516,9 +516,9 @@ namespace externalexecutor
|
|||
ccf::ClaimsDigest::Digest::SIZE,
|
||||
payload_digest.size()));
|
||||
}
|
||||
claims.set(crypto::Sha256Hash::from_span(
|
||||
{(uint8_t*)payload_digest.data(),
|
||||
ccf::ClaimsDigest::Digest::SIZE}));
|
||||
const std::span<const uint8_t, crypto::Sha256Hash::SIZE> digest_span{
|
||||
(uint8_t*)payload_digest.data(), ccf::ClaimsDigest::Digest::SIZE};
|
||||
claims.set(crypto::Sha256Hash::from_span(digest_span));
|
||||
}
|
||||
|
||||
auto& active_request = it->second.submitted_requests.front();
|
||||
|
|
Загрузка…
Ссылка в новой задаче