From b09f5b2cf2080b4c2c1c7cac4cdc39602e74f9f5 Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Tue, 4 Jan 2022 00:25:02 -0500 Subject: [PATCH] [wpilibc] Add virtual dtor for LinearSystemSim (#3861) --- .../src/main/native/include/frc/simulation/LinearSystemSim.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpilibc/src/main/native/include/frc/simulation/LinearSystemSim.h b/wpilibc/src/main/native/include/frc/simulation/LinearSystemSim.h index 9e507a89ba..731fad36b1 100644 --- a/wpilibc/src/main/native/include/frc/simulation/LinearSystemSim.h +++ b/wpilibc/src/main/native/include/frc/simulation/LinearSystemSim.h @@ -45,6 +45,8 @@ class LinearSystemSim { m_u = Eigen::Vector::Zero(); } + virtual ~LinearSystemSim() = default; + /** * Updates the simulation. *