summaryrefslogtreecommitdiffstats
path: root/core/math/crc64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/crc64.cc')
-rw-r--r--core/math/crc64.cc5
1 files changed, 5 insertions, 0 deletions
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);
+}