mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -22,7 +22,7 @@ functions:
|
||||
[](int32_t joystickNum) {
|
||||
WPI_String name;
|
||||
HAL_GetJoystickName(&name, joystickNum);
|
||||
std::string sname(wpi::to_string_view(&name));
|
||||
std::string sname(wpi::util::to_string_view(&name));
|
||||
WPI_FreeString(&name);
|
||||
return sname;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user