Utility/Crc32: fix naming.

This commit is contained in:
Guillaume Jacquemin 2024-03-17 15:57:31 +01:00
parent d242431d78
commit c9ac1ad4c8
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -16,10 +16,10 @@
#include "Crc32.h" #include "Crc32.h"
namespace mbst { namespace Crc32 { namespace mbst { namespace Utilities {
std::uint32_t std::uint32_t
update(std::uint32_t initial, Containers::ArrayView<const void> data) { crc32(std::uint32_t initial, Containers::ArrayView<const void> data) {
static const auto table = []{ static const auto table = []{
std::uint32_t polynomial = 0xEDB88320u; std::uint32_t polynomial = 0xEDB88320u;
Containers::StaticArray<256, std::uint32_t> temp{ValueInit}; Containers::StaticArray<256, std::uint32_t> temp{ValueInit};