diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/WrapperCommand.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/WrapperCommand.java index 00a1d887728..5e6ccaef82b 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/WrapperCommand.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/WrapperCommand.java @@ -4,7 +4,6 @@ package edu.wpi.first.wpilibj2.command; -import edu.wpi.first.util.sendable.SendableBuilder; import java.util.Set; /** @@ -101,9 +100,4 @@ public boolean runsWhenDisabled() { public InterruptionBehavior getInterruptionBehavior() { return m_command.getInterruptionBehavior(); } - - @Override - public void initSendable(SendableBuilder builder) { - m_command.initSendable(builder); - } } diff --git a/wpilibNewCommands/src/main/native/cpp/frc2/command/WrapperCommand.cpp b/wpilibNewCommands/src/main/native/cpp/frc2/command/WrapperCommand.cpp index 775e84a30c5..cc8757a6fa6 100644 --- a/wpilibNewCommands/src/main/native/cpp/frc2/command/WrapperCommand.cpp +++ b/wpilibNewCommands/src/main/native/cpp/frc2/command/WrapperCommand.cpp @@ -45,7 +45,3 @@ Command::InterruptionBehavior WrapperCommand::GetInterruptionBehavior() const { wpi::SmallSet WrapperCommand::GetRequirements() const { return m_command->GetRequirements(); } - -void WrapperCommand::InitSendable(wpi::SendableBuilder& builder) { - m_command->InitSendable(builder); -} diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/WrapperCommand.h b/wpilibNewCommands/src/main/native/include/frc2/command/WrapperCommand.h index e6a2b9ffa73..97a8693dc0b 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/WrapperCommand.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/WrapperCommand.h @@ -68,8 +68,6 @@ class WrapperCommand : public CommandHelper { wpi::SmallSet GetRequirements() const override; - void InitSendable(wpi::SendableBuilder& builder) override; - protected: /// Command being wrapped. std::unique_ptr m_command;