diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/Subsystem.h b/wpilibNewCommands/src/main/native/include/frc2/command/Subsystem.h index c38a099364..0c3a2a3282 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/Subsystem.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/Subsystem.h @@ -38,7 +38,7 @@ class CommandPtr; */ class Subsystem { public: - ~Subsystem(); + virtual ~Subsystem(); /** * This method is called periodically by the CommandScheduler. Useful for * updating subsystem-specific state that you don't want to offload to a