[commands] Remove CommandBase (#6545)

This commit is contained in:
Isaac Turner
2024-04-29 03:04:51 +08:00
committed by GitHub
parent ac32f921f6
commit 0f8aa8aedf
6 changed files with 0 additions and 55 deletions

View File

@@ -1,23 +0,0 @@
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include "frc2/command/Command.h"
namespace frc2 {
/**
* A Sendable base class for Commands.
*
* This class is provided by the NewCommands VendorDep
*
* @deprecated All functionality provided by CommandBase has been merged into
* Command. Use Command instead.
*/
class [[deprecated("Use Command instead")]] CommandBase : public Command {
protected:
[[deprecated("Use Command instead")]]
CommandBase();
};
} // namespace frc2

View File

@@ -16,7 +16,6 @@
#include <wpi/DecayedDerivedFrom.h>
#include "frc2/command/CommandBase.h"
#include "frc2/command/CommandHelper.h"
namespace frc2 {

View File

@@ -16,7 +16,6 @@
#include <wpi/DecayedDerivedFrom.h>
#include "frc2/command/CommandBase.h"
#include "frc2/command/CommandHelper.h"
namespace frc2 {

View File

@@ -17,7 +17,6 @@
#include <wpi/DecayedDerivedFrom.h>
#include "frc2/command/CommandBase.h"
#include "frc2/command/CommandHelper.h"
namespace frc2 {