From de7e986d89b62b4cce700a671835dea59b14ef50 Mon Sep 17 00:00:00 2001 From: Starlight220 <53231611+Starlight220@users.noreply.github.com> Date: Tue, 24 Dec 2024 09:15:04 +0200 Subject: [PATCH] fmt --- .../src/main/native/include/frc2/command/Commands.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h b/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h index 7874975904e..bd3b79125f1 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h @@ -184,13 +184,16 @@ template ... CommandPtrs> CommandPtr Choose(std::function publish, CommandPtrs&&... commands) { auto chooser = std::make_shared>(); - ((void)chooser->AddOption(commands.get()->GetName(), commands.get()->GetName()), ...); + ((void)chooser->AddOption(commands.get()->GetName(), + commands.get()->GetName()), + ...); publish(chooser.get()); return Select( [sendableChooser = chooser]() mutable { return sendableChooser->GetSelected(); }, - std::pair{std::string_view{commands.get()->GetName()}, std::move(commands)}...); + std::pair{std::string_view{commands.get()->GetName()}, + std::move(commands)}...); } /**