[wpimath] Mark all geometry classes as final (#8790)

In Java, these are likely to become value classes in the future.

Make C++ final for consistency.
This commit is contained in:
Gold856
2026-04-24 01:55:54 -04:00
committed by GitHub
parent 1586dcf385
commit d893d44e37
82 changed files with 84 additions and 82 deletions

View File

@@ -26,7 +26,7 @@ namespace wpi::math {
* A rotation in a 2D coordinate frame represented by a point on the unit circle
* (cosine and sine).
*/
class WPILIB_DLLEXPORT Rotation2d {
class WPILIB_DLLEXPORT Rotation2d final {
public:
/**
* Constructs a Rotation2d with a default angle of 0 degrees.