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

@@ -184,7 +184,7 @@ void Relay::Set(Relay::Value value)
*
* @return The current state of the relay as a Relay::Value
*/
Relay::Value Relay::Get() {
Relay::Value Relay::Get() const {
int32_t status;
if(getRelayForward(m_relay_ports[m_channel], &status)) {
@@ -249,7 +249,7 @@ void Relay::StopLiveWindowMode() {
}
}
std::string Relay::GetSmartDashboardType() {
std::string Relay::GetSmartDashboardType() const {
return "Relay";
}
@@ -258,6 +258,6 @@ void Relay::InitTable(ITable *subTable) {
UpdateTable();
}
ITable * Relay::GetTable() {
ITable * Relay::GetTable() const {
return m_table;
}