From 7c899dbb66486630804a8f048a8aa4f2385389f3 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Dec 2025 10:06:04 +0100 Subject: feat: preping release of OCL. Signed-off-by: Amlal El Mahrouss --- include/ocl/crc_hash.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/ocl/crc_hash.hpp b/include/ocl/crc_hash.hpp index 4fe1582..a3da6ba 100644 --- a/include/ocl/crc_hash.hpp +++ b/include/ocl/crc_hash.hpp @@ -92,10 +92,10 @@ namespace ocl } // namespace ocl -inline void -operator""_crc(const char* in, std::size_t len) noexcept +inline std::uint32_t +operator""_crc32(const char* in, std::size_t len) noexcept { - ocl::crc_hash_trait::crc(reinterpret_cast(in), strlen(in)); + return ocl::crc_hash_trait::crc(static_cast(in), strlen(in)); } namespace std -- cgit v1.2.3