mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilibc] Add missing move constructors and assignment operators (#2959)
- Field2d - FieldObject2d - AnalogGyro
This commit is contained in:
@@ -36,6 +36,9 @@ class FieldObject2d {
|
||||
FieldObject2d(std::string&& name, const private_init&)
|
||||
: m_name{std::move(name)} {}
|
||||
|
||||
FieldObject2d(FieldObject2d&& rhs);
|
||||
FieldObject2d& operator=(FieldObject2d&& rhs);
|
||||
|
||||
/**
|
||||
* Set the pose from a Pose object.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user