[wpilib] Use misspell to find more spelling errors (NFC) (#2679)

This commit is contained in:
sciencewhiz
2020-09-02 19:41:05 -07:00
committed by GitHub
parent 6a1e5385e5
commit f758af826d
20 changed files with 47 additions and 47 deletions

View File

@@ -171,8 +171,8 @@ void Scheduler::InitSendable(SendableBuilder& builder) {
// Cancel commands whose cancel buttons were pressed on the SmartDashboard
if (!toCancel.empty()) {
for (auto& command : m_impl->commands) {
for (const auto& cancelled : toCancel) {
if (command->GetID() == cancelled) {
for (const auto& canceled : toCancel) {
if (command->GetID() == canceled) {
command->Cancel();
}
}