mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[wpilibc] Make SendableChooser movable (#2621)
SendableChooserBase was movable; it was an oversight that SendableChooser was not.
This commit is contained in:
@@ -46,6 +46,9 @@ class SendableChooser : public SendableChooserBase {
|
||||
|
||||
public:
|
||||
~SendableChooser() override = default;
|
||||
SendableChooser() = default;
|
||||
SendableChooser(SendableChooser&& rhs) = default;
|
||||
SendableChooser& operator=(SendableChooser&& rhs) = default;
|
||||
|
||||
void AddOption(wpi::StringRef name, T object);
|
||||
void SetDefaultOption(wpi::StringRef name, T object);
|
||||
|
||||
Reference in New Issue
Block a user