[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

@@ -27,7 +27,7 @@ class Transform2d;
/**
* Represents a 2D pose containing translational and rotational elements.
*/
class WPILIB_DLLEXPORT Pose2d {
class WPILIB_DLLEXPORT Pose2d final {
public:
/**
* Constructs a pose at the origin facing toward the positive X axis.