mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
881dcd08e5015761eb4168df6a8c05798901aa28
CANTalon declared a std::unique_ptr<CanTalonSRX> with CanTalonSRX as an incomplete type. This causes a compilation error in code using CANTalons. The CANTalonTest didn't catch this because it included ctre/CanTalonSRX.h as well as CANTalon.h. Normal user code doesn't do that. I reviewed uses of std::unique_ptr elsewhere and determined that PIDCommand may suffer from the same problem. There is no test for PIDCommand to prove otherwise. Change-Id: I54caf4941927910471ffb7170eb6737ba0e08437
Description
WPILib - FRC Robotics Library
Languages
C++
53%
Java
32.7%
Python
7.6%
C
2.6%
Jinja
1.6%
Other
2.4%