mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Build issue due to uncaptured this pointer
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user