diff --git a/plugins/builtin/source/content/popups/hex_editor/popup_hex_editor_find.cpp b/plugins/builtin/source/content/popups/hex_editor/popup_hex_editor_find.cpp index bc67b02cb..302de59f1 100644 --- a/plugins/builtin/source/content/popups/hex_editor/popup_hex_editor_find.cpp +++ b/plugins/builtin/source/content/popups/hex_editor/popup_hex_editor_find.cpp @@ -47,7 +47,7 @@ namespace hex::plugin::builtin { } if(ImGuiExt::IconHyperlink(ICON_VS_SEARCH, "hex.builtin.view.hex_editor.search.advanced"_lang)) { - TaskManager::doLater([&editor] { + TaskManager::doLater([editor] { const auto& view = ContentRegistry::Views::getViewByName("hex.builtin.view.find.name"); view->getWindowOpenState() = true;