Make C++ IterativeRobotBase and RobotBase constructor and destructor public (#2242)

This commit is contained in:
Peter Johnson
2020-01-08 23:17:12 -08:00
committed by GitHub
parent 790dc552ca
commit 10e8fdb724
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -138,7 +138,6 @@ class IterativeRobotBase : public RobotBase {
*/
virtual void TestPeriodic();
protected:
/**
* Constructor for IterativeRobotBase.
*
@@ -156,6 +155,7 @@ class IterativeRobotBase : public RobotBase {
virtual ~IterativeRobotBase() = default;
protected:
IterativeRobotBase(IterativeRobotBase&&) = default;
IterativeRobotBase& operator=(IterativeRobotBase&&) = default;