mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilibc] Return reference from GetInstance (#3247)
Improves consistency across all classes. Affects Preferences, LiveWindow, and CameraServer. Old commands Scheduler::GetInstance() was not updated as this is already deprecated.
This commit is contained in:
@@ -40,7 +40,7 @@ class TestEnvironment : public testing::Environment {
|
||||
station returns that the robot is enabled, to ensure that tests
|
||||
will be able to run on the hardware. */
|
||||
HAL_ObserveUserProgramStarting();
|
||||
LiveWindow::GetInstance()->SetEnabled(false);
|
||||
LiveWindow::GetInstance().SetEnabled(false);
|
||||
|
||||
wpi::outs() << "Started coms\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user