diff --git a/wpilibc/src/main/native/include/frc/RobotState.h b/wpilibc/src/main/native/include/frc/RobotState.h index c6b6b875cd..60e608ab04 100644 --- a/wpilibc/src/main/native/include/frc/RobotState.h +++ b/wpilibc/src/main/native/include/frc/RobotState.h @@ -13,6 +13,8 @@ namespace frc { class RobotState { public: + RobotState() = delete; + static bool IsDisabled(); static bool IsEnabled(); static bool IsEStopped(); diff --git a/wpilibc/src/main/native/include/frc/SensorUtil.h b/wpilibc/src/main/native/include/frc/SensorUtil.h index a38b5424e6..ab471b1e27 100644 --- a/wpilibc/src/main/native/include/frc/SensorUtil.h +++ b/wpilibc/src/main/native/include/frc/SensorUtil.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */ +/* Copyright (c) 2008-2019 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. */ @@ -15,6 +15,8 @@ namespace frc { */ class SensorUtil final { public: + SensorUtil() = delete; + /** * Get the number of the default solenoid module. * @@ -109,9 +111,6 @@ class SensorUtil final { static const int kPwmChannels; static const int kRelayChannels; static const int kPDPChannels; - - private: - SensorUtil() = default; }; } // namespace frc