mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Improve const correctness.
See https://usfirst.collab.net/sf/tracker/do/viewArtifact/projects.wpilib/tracker.4_defects/artf4148 Change-Id: I47b0d5a91fd49e47e2c7348b0705e998ec815682
This commit is contained in:
@@ -63,7 +63,7 @@ double BuiltInAccelerometer::GetZ()
|
||||
return getAccelerometerZ();
|
||||
}
|
||||
|
||||
std::string BuiltInAccelerometer::GetSmartDashboardType() {
|
||||
std::string BuiltInAccelerometer::GetSmartDashboardType() const {
|
||||
return "3AxisAccelerometer";
|
||||
}
|
||||
|
||||
@@ -80,6 +80,6 @@ void BuiltInAccelerometer::UpdateTable() {
|
||||
}
|
||||
}
|
||||
|
||||
ITable* BuiltInAccelerometer::GetTable() {
|
||||
ITable* BuiltInAccelerometer::GetTable() const {
|
||||
return m_table;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user