Skip to content

Commit

Permalink
fix: Build issue due to uncaptured this pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jul 5, 2024
1 parent 88e2fa0 commit dae028d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/gui/source/window/macos_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namespace hex {
});

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

Expand Down

0 comments on commit dae028d

Please sign in to comment.