mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Remove redundant C++ lambda parentheses (NFC) (#3433)
This commit is contained in:
@@ -218,11 +218,11 @@ void Encoder::InitSendable(SendableBuilder& builder) {
|
||||
}
|
||||
|
||||
builder.AddDoubleProperty(
|
||||
"Speed", [=]() { return GetRate(); }, nullptr);
|
||||
"Speed", [=] { return GetRate(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Distance", [=]() { return GetDistance(); }, nullptr);
|
||||
"Distance", [=] { return GetDistance(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Distance per Tick", [=]() { return GetDistancePerPulse(); }, nullptr);
|
||||
"Distance per Tick", [=] { return GetDistancePerPulse(); }, nullptr);
|
||||
}
|
||||
|
||||
void Encoder::InitEncoder(bool reverseDirection, EncodingType encodingType) {
|
||||
|
||||
Reference in New Issue
Block a user