Fixed code review issues

This commit is contained in:
Maksim Kita 2022-12-14 11:14:15 +01:00
parent b538fae749
commit 8e6593f367

View File

@ -120,21 +120,11 @@ public:
return current_context; return current_context;
} }
const ContextPtr & getContext()
{
return current_context;
}
const Settings & getSettings() const const Settings & getSettings() const
{ {
return current_context->getSettingsRef(); return current_context->getSettingsRef();
} }
const Settings & getSettings()
{
return current_context->getSettingsRef();
}
void visit(VisitQueryTreeNodeType & query_tree_node) void visit(VisitQueryTreeNodeType & query_tree_node)
{ {
auto current_scope_context_ptr = current_context; auto current_scope_context_ptr = current_context;