From 47bed13b4203fcf950f6e9171326f2f71bd5b7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Mar=C3=ADn?= Date: Mon, 18 Nov 2024 19:51:21 +0100 Subject: [PATCH] Remove extra instantiations of classes --- src/Functions/FunctionsComparison.h | 55 +++++++++++++++-------------- src/Functions/greater.cpp | 1 + src/Functions/greaterOrEquals.cpp | 3 +- src/Functions/less.cpp | 1 + src/Functions/lessOrEquals.cpp | 2 ++ 5 files changed, 35 insertions(+), 27 deletions(-) diff --git a/src/Functions/FunctionsComparison.h b/src/Functions/FunctionsComparison.h index 0add34939b2..c3be91b09d0 100644 --- a/src/Functions/FunctionsComparison.h +++ b/src/Functions/FunctionsComparison.h @@ -79,6 +79,30 @@ static inline bool callOnAtLeastOneDecimalType(TypeIndex type_num1, TypeIndex ty return false; } + +template