mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user