mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
class Accelerometer {
|
||||
public:
|
||||
virtual ~Accelerometer(){};
|
||||
virtual ~Accelerometer() = default;
|
||||
|
||||
enum Range { kRange_2G = 0, kRange_4G = 1, kRange_8G = 2, kRange_16G = 3 };
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
class Potentiometer : public PIDSource {
|
||||
public:
|
||||
virtual ~Potentiometer(){};
|
||||
virtual ~Potentiometer() = default;
|
||||
/**
|
||||
* Common interface for getting the current value of a potentiometer.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user