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:
Tyler Veness
2015-06-19 17:23:54 -07:00
parent c6b790cadd
commit 5598445a67
172 changed files with 1165 additions and 1140 deletions

View File

@@ -86,7 +86,7 @@ void DoubleSolenoid::Set(Value value)
*
* @return The current value of the solenoid.
*/
DoubleSolenoid::Value DoubleSolenoid::Get()
DoubleSolenoid::Value DoubleSolenoid::Get() const
{
return m_value;
}
@@ -121,7 +121,7 @@ void DoubleSolenoid::StopLiveWindowMode() {
}
}
std::string DoubleSolenoid::GetSmartDashboardType() {
std::string DoubleSolenoid::GetSmartDashboardType() const {
return "Double Solenoid";
}
@@ -130,6 +130,6 @@ void DoubleSolenoid::InitTable(ITable *subTable) {
UpdateTable();
}
ITable * DoubleSolenoid::GetTable() {
ITable * DoubleSolenoid::GetTable() const {
return m_table;
}