From 8bcbd2729388edc63c82d77d314b583af1447c49 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 14 Sep 2025 19:16:44 +0500 Subject: Cleanup math with qfengine ports again --- core/math/crc64.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/math/crc64.cc') diff --git a/core/math/crc64.cc b/core/math/crc64.cc index 0b6a830..ea7841d 100644 --- a/core/math/crc64.cc +++ b/core/math/crc64.cc @@ -69,3 +69,8 @@ std::uint64_t math::crc64(const std::string& buffer, std::uint64_t combine) { return math::crc64(buffer.data(), buffer.size(), combine); } + +std::uint64_t math::crc64(std::string_view buffer, std::uint64_t combine) +{ + return math::crc64(buffer.data(), buffer.size(), combine); +} -- cgit