SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 20:01:58 -05:00
committed by Peter Johnson
parent ae6bdc9d25
commit 2109161534
749 changed files with 5504 additions and 3936 deletions

View File

@@ -532,7 +532,8 @@ void HALSIM_SetJoystickName(int32_t stick, const WPI_String* name) {
}
void HALSIM_SetGameSpecificMessage(const WPI_String* message) {
SimDriverStationData->SetGameSpecificMessage(wpi::util::to_string_view(message));
SimDriverStationData->SetGameSpecificMessage(
wpi::util::to_string_view(message));
}
void HALSIM_SetEventName(const WPI_String* name) {

View File

@@ -29,7 +29,8 @@ class SimUnnamedCallbackRegistry {
using RawFunctor = void (*)();
protected:
using CallbackVector = wpi::util::UidVector<HalCallbackListener<RawFunctor>, 4>;
using CallbackVector =
wpi::util::UidVector<HalCallbackListener<RawFunctor>, 4>;
public:
void Cancel(int32_t uid) {