Replaced the START_ROBOT_CLASS() macro with a template function (#1050)

The START_ROBOT_CLASS() macro's main() now calls this function through a
deprecated proxy function to encourage users to switch.
This commit is contained in:
Tyler Veness
2018-05-16 19:54:39 -07:00
committed by Peter Johnson
parent 64b03704f8
commit c89678971c
24 changed files with 43 additions and 34 deletions

View File

@@ -45,4 +45,4 @@ class MyRobot : public frc::IterativeRobot {
void RobotPeriodic() override {}
};
START_ROBOT_CLASS(MyRobot)
int main() { return frc::StartRobot<MyRobot>(); }