From ec07572cedbc1c4e268183a6f310473674be4d94 Mon Sep 17 00:00:00 2001 From: roeming Date: Thu, 30 Apr 2026 17:45:53 -0400 Subject: [PATCH] compilation fix attempt --- src/dusk/imgui/ImGuiSaveEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dusk/imgui/ImGuiSaveEditor.cpp b/src/dusk/imgui/ImGuiSaveEditor.cpp index 8522f18034..d18d21a56f 100644 --- a/src/dusk/imgui/ImGuiSaveEditor.cpp +++ b/src/dusk/imgui/ImGuiSaveEditor.cpp @@ -1438,7 +1438,7 @@ namespace dusk { constexpr uint16_t switchConvert = sizeof(membit.mTbox) << 8; constexpr uint16_t itemConvert = switchConvert + (sizeof(membit.mItem) << 8); - const auto LoadFlag = [&membit](uint16_t flag) -> bool { + const auto LoadFlag = [&](uint16_t flag) -> bool { const auto byteIndex = getByteIndexFromFlag(flag); if (byteIndex < validTbox) { @@ -1451,7 +1451,7 @@ namespace dusk { return false; }; - const auto SetFlag = [&membit](uint16_t flag, bool set) -> void { + const auto SetFlag = [&](uint16_t flag, bool set) -> void { const auto byteIndex = getByteIndexFromFlag(flag); if (set) { if (byteIndex < validTbox) {