From 2ee3bfaa25896d7fa126723ed048dc378bee3d72 Mon Sep 17 00:00:00 2001 From: Prateek Machiraju Date: Mon, 23 Mar 2020 01:55:10 -0400 Subject: [PATCH] Make SlewRateLimiter unit declarations public (#2445) --- wpilibc/src/main/native/include/frc/SlewRateLimiter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/SlewRateLimiter.h b/wpilibc/src/main/native/include/frc/SlewRateLimiter.h index 7236a30a20..3d24ae5cc4 100644 --- a/wpilibc/src/main/native/include/frc/SlewRateLimiter.h +++ b/wpilibc/src/main/native/include/frc/SlewRateLimiter.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2019-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. */ @@ -25,11 +25,11 @@ namespace frc { */ template class SlewRateLimiter { + public: using Unit_t = units::unit_t; using Rate = units::compound_unit>; using Rate_t = units::unit_t; - public: /** * Creates a new SlewRateLimiter with the given rate limit and initial value. *