replace lambda [&] with [this]

This commit is contained in:
Proddy
2024-02-13 15:19:06 +01:00
parent 16779064f4
commit a7d0259b30
12 changed files with 38 additions and 38 deletions

View File

@@ -40,7 +40,7 @@ class FSPersistence {
void enableUpdateHandler() {
if (!_updateHandlerId) {
_updateHandlerId = _statefulService->addUpdateHandler([&]() { writeToFS(); });
_updateHandlerId = _statefulService->addUpdateHandler([this] { writeToFS(); });
}
}