mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Add "override" qualifier to several headers.
clang on Mac generates warnings for these.
This commit is contained in:
@@ -42,10 +42,10 @@ class PIDSubsystem : public Subsystem, public PIDOutput, public PIDSource {
|
||||
void Disable();
|
||||
|
||||
// PIDOutput interface
|
||||
virtual void PIDWrite(double output);
|
||||
void PIDWrite(double output) override;
|
||||
|
||||
// PIDSource interface
|
||||
virtual double PIDGet();
|
||||
double PIDGet() override;
|
||||
void SetSetpoint(double setpoint);
|
||||
void SetSetpointRelative(double deltaSetpoint);
|
||||
void SetInputRange(double minimumInput, double maximumInput);
|
||||
|
||||
Reference in New Issue
Block a user