From 399684a58fbe5af74f585db36be456b28dad2566 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Thu, 30 Jul 2020 13:34:07 -0500 Subject: [PATCH] [wpilibc] Make SendableChooser movable (#2621) SendableChooserBase was movable; it was an oversight that SendableChooser was not. --- .../main/native/include/frc/smartdashboard/SendableChooser.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpilibc/src/main/native/include/frc/smartdashboard/SendableChooser.h b/wpilibc/src/main/native/include/frc/smartdashboard/SendableChooser.h index 302dfe9a3e..b370fc0f4f 100644 --- a/wpilibc/src/main/native/include/frc/smartdashboard/SendableChooser.h +++ b/wpilibc/src/main/native/include/frc/smartdashboard/SendableChooser.h @@ -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);