mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -37,15 +37,6 @@ RobotBase::RobotBase()
|
||||
RobotState::SetImplementation(DriverStation::GetInstance());
|
||||
}
|
||||
|
||||
/**
|
||||
* Free the resources for a RobotBase class.
|
||||
* This includes deleting all classes that might have been allocated as Singletons to they
|
||||
* would never be deleted except here.
|
||||
*/
|
||||
RobotBase::~RobotBase()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the Robot is currently enabled.
|
||||
* @return True if the Robot is currently enabled by the field controls.
|
||||
@@ -109,7 +100,6 @@ bool RobotBase::IsTest() const
|
||||
class RobotDeleter
|
||||
{
|
||||
public:
|
||||
RobotDeleter() {}
|
||||
~RobotDeleter()
|
||||
{
|
||||
delete &RobotBase::getInstance();
|
||||
|
||||
Reference in New Issue
Block a user