mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Replace const char* with std::string_view in Driver Station sim functions (#4532)
This commit is contained in:
@@ -254,8 +254,8 @@ class FMSSimModel : public glass::FMSModel {
|
||||
void SetAutonomous(bool val) override {
|
||||
HALSIM_SetDriverStationAutonomous(val);
|
||||
}
|
||||
void SetGameSpecificMessage(const char* val) override {
|
||||
HALSIM_SetGameSpecificMessage(val);
|
||||
void SetGameSpecificMessage(std::string_view val) override {
|
||||
HALSIM_SetGameSpecificMessage(val.data(), val.size());
|
||||
}
|
||||
|
||||
void Update() override;
|
||||
|
||||
Reference in New Issue
Block a user