Remove useless WithContext

This commit is contained in:
Amos Bird 2021-08-02 17:37:41 +08:00
parent b76a854f5a
commit 6d3356ac43
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -65,7 +65,7 @@ private:
/** Get special scalar values
*/
template <typename Scalar>
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())
{
}