From 6d3356ac43fc333485866d5bb3e987875caacd85 Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Mon, 2 Aug 2021 17:37:41 +0800 Subject: [PATCH] Remove useless WithContext --- src/Functions/getScalar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Functions/getScalar.cpp b/src/Functions/getScalar.cpp index ec636ae89f5..13ec97a94fb 100644 --- a/src/Functions/getScalar.cpp +++ b/src/Functions/getScalar.cpp @@ -65,7 +65,7 @@ private: /** Get special scalar values */ template -class FunctionGetSpecialScalar : public IFunction, WithContext +class FunctionGetSpecialScalar : public IFunction { public: static constexpr auto name = Scalar::name; @@ -87,7 +87,7 @@ public: } explicit FunctionGetSpecialScalar(ContextPtr context_) - : WithContext(context_), scalar(createScalar(context_)), is_distributed(context_->isDistributed()) + : scalar(createScalar(context_)), is_distributed(context_->isDistributed()) { }