Remove redundant C++ lambda parentheses (NFC) (#3433)

This commit is contained in:
Tyler Veness
2021-06-12 08:06:45 -07:00
committed by GitHub
parent f60994ad24
commit 04e64db945
37 changed files with 63 additions and 64 deletions

View File

@@ -75,7 +75,7 @@ void Solenoid::StartPulse() {
void Solenoid::InitSendable(SendableBuilder& builder) {
builder.SetSmartDashboardType("Solenoid");
builder.SetActuator(true);
builder.SetSafeState([=]() { Set(false); });
builder.SetSafeState([=] { Set(false); });
builder.AddBooleanProperty(
"Value", [=]() { return Get(); }, [=](bool value) { Set(value); });
"Value", [=] { return Get(); }, [=](bool value) { Set(value); });
}