fix: Build issue due to uncaptured this pointer

This commit is contained in:
WerWolv
2024-07-05 21:03:24 +02:00
parent 88e2fa04e7
commit dae028d25d

View File

@@ -66,7 +66,7 @@ namespace hex {
});
EventProviderDirtied::subscribe([this](prv::Provider *) {
TaskManager::doLater([] {
TaskManager::doLater([this] {
macosMarkContentEdited(m_window);
});
});
@@ -78,7 +78,7 @@ namespace hex {
return true;
},
.store = [this](const std::fs::path &, Tar &) {
TaskManager::doLater([] {
TaskManager::doLater([this] {
macosMarkContentEdited(m_window, false);
});