From 8d5e6737fca13ab882376981b7b96f30c161e55e Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Mon, 30 Oct 2023 11:24:11 -0400 Subject: [PATCH] [wpilibc] SolenoidSim: Add virtual destructor (#5848) --- wpilibc/src/main/native/include/frc/simulation/SolenoidSim.h | 1 + 1 file changed, 1 insertion(+) diff --git a/wpilibc/src/main/native/include/frc/simulation/SolenoidSim.h b/wpilibc/src/main/native/include/frc/simulation/SolenoidSim.h index 79c7a2deab..dd2e8e79cc 100644 --- a/wpilibc/src/main/native/include/frc/simulation/SolenoidSim.h +++ b/wpilibc/src/main/native/include/frc/simulation/SolenoidSim.h @@ -16,6 +16,7 @@ class SolenoidSim { SolenoidSim(std::shared_ptr moduleSim, int channel); SolenoidSim(int module, PneumaticsModuleType type, int channel); SolenoidSim(PneumaticsModuleType type, int channel); + virtual ~SolenoidSim() = default; bool GetOutput() const; void SetOutput(bool output);