From fb2a56e2d6cc660a48dea490900af5c252a03fd4 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 25 May 2021 20:53:26 -0700 Subject: [PATCH] [wpilibc] Remove START_ROBOT_CLASS macro (#3384) --- wpilibc/src/main/native/include/frc/RobotBase.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/RobotBase.h b/wpilibc/src/main/native/include/frc/RobotBase.h index c477438639..b314e9f677 100644 --- a/wpilibc/src/main/native/include/frc/RobotBase.h +++ b/wpilibc/src/main/native/include/frc/RobotBase.h @@ -101,13 +101,6 @@ int StartRobot() { return 0; } -#define START_ROBOT_CLASS(_ClassName_) \ - WPI_DEPRECATED("Call frc::StartRobot<" #_ClassName_ \ - ">() in your own main() instead of using the " \ - "START_ROBOT_CLASS(" #_ClassName_ ") macro.") \ - int StartRobotClassImpl() { return frc::StartRobot<_ClassName_>(); } \ - int main() { return StartRobotClassImpl(); } - /** * Implement a Robot Program framework. *