1
0
mirror of synced 2025-02-15 01:52:40 +01:00

fix: Build issue due to uncaptured this pointer

This commit is contained in:
WerWolv 2024-07-05 21:03:24 +02:00
parent 22dc3c6589
commit 4d1e29d747

View File

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