mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpilib] Deprecate getInstance() in favor of static functions (#3440)
Co-authored-by: Noam Zaks <imnoamzaks@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@ Relay::Relay(int channel, Relay::Direction direction)
|
||||
FRC_CheckErrorStatus(status, "Channel {}", m_channel);
|
||||
}
|
||||
|
||||
wpi::SendableRegistry::GetInstance().AddLW(this, "Relay", m_channel);
|
||||
wpi::SendableRegistry::AddLW(this, "Relay", m_channel);
|
||||
}
|
||||
|
||||
Relay::~Relay() {
|
||||
|
||||
Reference in New Issue
Block a user