Skip to content

Commit

Permalink
linted again
Browse files Browse the repository at this point in the history
  • Loading branch information
Braykoff committed Dec 23, 2024
1 parent 7923415 commit e7fd08a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class SendableChooser : public SendableChooserBase {
* @param listener The function to call that accepts the new value
*/
void OnChange(std::function<void(T)> listener) {
OnChange<T>([listener](std::string_view, T choice) { listener(choice); });
OnChange([listener](std::string_view val, T choice) { listener(choice); });
}

void InitSendable(wpi::SendableBuilder& builder) override {
Expand Down

0 comments on commit e7fd08a

Please sign in to comment.