mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +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:
@@ -59,7 +59,7 @@ void Trigger::ToggleWhenActive(Command *command) {
|
||||
tbs->Start();
|
||||
}
|
||||
|
||||
std::string Trigger::GetSmartDashboardType(){
|
||||
std::string Trigger::GetSmartDashboardType() const {
|
||||
return "Button";
|
||||
}
|
||||
|
||||
@@ -70,6 +70,6 @@ void Trigger::InitTable(ITable* table){
|
||||
}
|
||||
}
|
||||
|
||||
ITable* Trigger::GetTable(){
|
||||
ITable* Trigger::GetTable() const {
|
||||
return m_table;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user