[webkit-changes] [WebKit/WebKit] 1f5716: [WTF] Simplify std::span construction from SHA1::D...
Commit Queue
noreply at github.com
Wed Oct 2 14:39:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1f5716b1564424c3e6a35f3672cca69865f46d73
https://github.com/WebKit/WebKit/commit/1f5716b1564424c3e6a35f3672cca69865f46d73
Author: David Kilzer <ddkilzer at apple.com>
Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths:
M Source/WTF/wtf/persistence/PersistentCoders.cpp
M Source/WTF/wtf/persistence/PersistentDecoder.cpp
Log Message:
-----------
[WTF] Simplify std::span construction from SHA1::Digest
<https://bugs.webkit.org/show_bug.cgi?id=280775>
<rdar://137143782>
Reviewed by Charlie Wolfe.
Switch to simpler std::span(std::array<>&) constructor.
* Source/WTF/wtf/persistence/PersistentCoders.cpp:
(WTF::Persistence::Coder<SHA1::Digest>::encodeForPersistence):
(WTF::Persistence::Coder<SHA1::Digest>::decodeForPersistence):
* Source/WTF/wtf/persistence/PersistentDecoder.cpp:
(WTF::Persistence::Decoder::verifyChecksum):
Canonical link: https://commits.webkit.org/284580@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list