diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-16 10:53:49 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-16 10:53:49 +0100 |
| commit | 8f0afe0818c275cacc5960193027f6a3929e0a60 (patch) | |
| tree | 9954965e0b1880b9b6af189c63d74e412796324b /include/ocl/crc_hash.hpp | |
| parent | d42491e025977f8207d36f3bc972db8a3d1dc775 (diff) | |
fix: core: fix crc_hash.hpp.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/crc_hash.hpp')
| -rw-r--r-- | include/ocl/crc_hash.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ocl/crc_hash.hpp b/include/ocl/crc_hash.hpp index a3da6ba..8775e79 100644 --- a/include/ocl/crc_hash.hpp +++ b/include/ocl/crc_hash.hpp @@ -8,9 +8,6 @@ #include <ocl/detail/config.hpp> #include <unordered_map> -#include <cstdint> -#include <string> -#include <cstddef> #include <concepts> #include <cstring> @@ -95,7 +92,7 @@ namespace ocl inline std::uint32_t operator""_crc32(const char* in, std::size_t len) noexcept { - return ocl::crc_hash_trait::crc<std::uint32_t>(static_cast<const char*>(in), strlen(in)); + return ocl::crc_hash_trait::crc<std::uint32_t>(static_cast<const char*>(in), len); } namespace std |
