FunctionSQLJSON ContextPtr build fix

This commit is contained in:
Maksim Kita 2021-07-06 13:08:09 +03:00
parent ddc7263ec7
commit 4812116929

View File

@ -144,8 +144,8 @@ template <typename Name, template <typename> typename Impl>
class FunctionSQLJSON : public IFunction, WithConstContext class FunctionSQLJSON : public IFunction, WithConstContext
{ {
public: public:
static FunctionPtr create(ContextConstPtr context_) { return std::make_shared<FunctionSQLJSON>(context_); } static FunctionPtr create(ContextPtr context_) { return std::make_shared<FunctionSQLJSON>(context_); }
FunctionSQLJSON(ContextConstPtr context_) : WithConstContext(context_) { } explicit FunctionSQLJSON(ContextPtr context_) : WithConstContext(context_) { }
static constexpr auto name = Name::name; static constexpr auto name = Name::name;
String getName() const override { return Name::name; } String getName() const override { return Name::name; }