From b53442e52175e62cf857666cd0f1be12e95443d5 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Fri, 25 Dec 2020 20:00:42 +0300 Subject: [PATCH] Fixing build. --- src/Functions/FunctionsStringHash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/FunctionsStringHash.cpp b/src/Functions/FunctionsStringHash.cpp index 79ea9c16158..1cbb0523165 100644 --- a/src/Functions/FunctionsStringHash.cpp +++ b/src/Functions/FunctionsStringHash.cpp @@ -481,7 +481,7 @@ struct MinHashImpl size_t length = start - word_start; if (length) - words.emplace_back(word_start, length); + words.emplace_back(BytesRef{word_start, length}); } UInt64 hash_value = Hash::shingleHash(words);