diff options
Diffstat (limited to 'include')
| -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 |
