mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Remove useless WithContext
This commit is contained in:
parent
b76a854f5a
commit
6d3356ac43
@ -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())
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user