[wpilibc] Make SendableChooser movable (#2621)

SendableChooserBase was movable; it was an oversight that SendableChooser was not.
This commit is contained in:
carbotaniuman
2020-07-30 13:34:07 -05:00
committed by GitHub
parent 5cf4c16f5b
commit 399684a58f

View File

@@ -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);