From 62eecb3ccdda53839fbb90d66a9b3ce4d23ca255 Mon Sep 17 00:00:00 2001 From: roeming Date: Thu, 30 Apr 2026 17:48:39 -0400 Subject: [PATCH] compilation fix attempt 2 --- src/dusk/imgui/ImGuiSaveEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dusk/imgui/ImGuiSaveEditor.cpp b/src/dusk/imgui/ImGuiSaveEditor.cpp index d18d21a56f..9f788bd92b 100644 --- a/src/dusk/imgui/ImGuiSaveEditor.cpp +++ b/src/dusk/imgui/ImGuiSaveEditor.cpp @@ -1410,7 +1410,7 @@ namespace dusk { return (byteIndex << 8) | bitIndices; }; - constexpr auto eventFlagToAreaFlag = [](uint16_t areaFlag) -> int { + const auto eventFlagToAreaFlag = [&](uint16_t areaFlag) -> int { auto byteInd = getByteIndexFromFlag(areaFlag); constexpr size_t areaIndexSize = 5; // if we're looking at 0x580, that would be byte 5, and check if 0x80 is set on that byte