From a297baae9dda940444fe8813c07e29c1efc80001 Mon Sep 17 00:00:00 2001 From: Alexander Guzhva Date: Mon, 12 Feb 2024 21:26:47 -0500 Subject: [PATCH] enhance: remove unused code (#30601) Signed-off-by: Alexandr Guzhva --- internal/core/src/exec/expression/TermExpr.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/internal/core/src/exec/expression/TermExpr.h b/internal/core/src/exec/expression/TermExpr.h index 2faac49d37e35..ffa6742013f0e 100644 --- a/internal/core/src/exec/expression/TermExpr.h +++ b/internal/core/src/exec/expression/TermExpr.h @@ -27,18 +27,6 @@ namespace milvus { namespace exec { -template -struct TermElementFuncFlat { - bool - operator()(const T* src, size_t n, T val) { - for (size_t i = 0; i < n; ++i) { - if (src[i] == val) { - return true; - } - } - } -}; - template struct TermElementFuncSet { bool