diff --git a/src/Functions/GatherUtils/ValueSourceVisitor.h b/src/Functions/GatherUtils/ValueSourceVisitor.h index 74be08cb4dd..538ee156e5d 100644 --- a/src/Functions/GatherUtils/ValueSourceVisitor.h +++ b/src/Functions/GatherUtils/ValueSourceVisitor.h @@ -24,10 +24,18 @@ using BasicAndNullableValueSources = typename TypeListConcat::Type; using TypeListValueSources = typename TypeListConcat::Type; -using ValueSourceVisitor = typename ApplyTypeListForClass::Type; +class ValueSourceVisitor : public ApplyTypeListForClass::Type +{ +protected: + ~ValueSourceVisitor() = default; +}; template -using ValueSourceVisitorImpl = VisitorImpl; +class ValueSourceVisitorImpl : public VisitorImpl +{ +protected: + ~ValueSourceVisitorImpl() = default; +}; #pragma GCC visibility pop }