diff --git a/lib/source/pl/lib/std/hash.cpp b/lib/source/pl/lib/std/hash.cpp index 3db90db0..40e97de6 100644 --- a/lib/source/pl/lib/std/hash.cpp +++ b/lib/source/pl/lib/std/hash.cpp @@ -10,7 +10,7 @@ namespace pl::lib::libstd::hash { template - static u128 crc(pl::core::Evaluator *ctx, const auto ¶ms) { + static u128 crc(const auto ¶ms) { if (!params[0].isPattern() && !params[0].isString()) core::err::E0012.throwError("Only patterns and strings are supported for CRC hash functions.");