mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Replace WPI_DEPRECATED() macro with [[deprecated]] attribute (#5373)
Continue to use WPI_DEPRECATED macro for constructors until clang-format is fixed.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <units/time.h>
|
||||
#include <wpi/FunctionExtras.h>
|
||||
#include <wpi/concepts.h>
|
||||
#include <wpi/deprecated.h>
|
||||
#include <wpi/sendable/SendableHelper.h>
|
||||
|
||||
namespace frc2 {
|
||||
@@ -81,7 +80,7 @@ class CommandScheduler final : public nt::NTSendable,
|
||||
/**
|
||||
* Removes all button bindings from the scheduler.
|
||||
*/
|
||||
WPI_DEPRECATED("Call Clear on the EventLoop instance directly!")
|
||||
[[deprecated("Call Clear on the EventLoop instance directly!")]]
|
||||
void ClearButtons();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user