[safe_mode] Remove unused capture (#7826)

This commit is contained in:
Keith Burzinski 2024-11-25 02:24:35 -06:00 committed by GitHub
parent 6c548a1596
commit 46a435f5f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ namespace safe_mode {
class SafeModeTrigger : public Trigger<> {
public:
explicit SafeModeTrigger(SafeModeComponent *parent) {
parent->add_on_safe_mode_callback([this, parent]() { trigger(); });
parent->add_on_safe_mode_callback([this]() { trigger(); });
}
};