diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-30 10:06:04 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-30 10:06:04 +0100 |
| commit | 7c899dbb66486630804a8f048a8aa4f2385389f3 (patch) | |
| tree | 9cf8d1239938348ffdc2aff9e8ffd14596075265 /include/ocl | |
| parent | 8c976ce60d3232471efd079adab9ec52c08ea275 (diff) | |
feat: preping release of OCL.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl')
| -rw-r--r-- | include/ocl/crc_hash.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<std::uint32_t>(reinterpret_cast<const char*>(in), strlen(in)); + return ocl::crc_hash_trait::crc<std::uint32_t>(static_cast<const char*>(in), strlen(in)); } namespace std |
