mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user