Try to fix style

This commit is contained in:
János Benjamin Antal 2024-11-19 14:57:08 +00:00
parent 7f493c81d0
commit 7eac602350

View File

@ -74,9 +74,7 @@ void ASTAlterCommand::formatImpl(const FormatSettings & settings, FormatState &
if (format_alter_commands_with_parentheses) if (format_alter_commands_with_parentheses)
{ {
settings.ostr << "("; settings.ostr << "(";
closing_bracket_guard = make_scope_guard(std::function<void(void)>([&settings](){ closing_bracket_guard = make_scope_guard(std::function<void(void)>([&settings]() { settings.ostr << ")"; }));
settings.ostr << ")";
}));
} }
if (type == ASTAlterCommand::ADD_COLUMN) if (type == ASTAlterCommand::ADD_COLUMN)