From a4d37094a6e7b29cf29f46a074e8c97bd218dbd7 Mon Sep 17 00:00:00 2001 From: Hecklezz Date: Tue, 9 Dec 2025 06:46:22 +1000 Subject: [PATCH] Fixed two compilation errors on macOS --- indra/newview/llpaneldirland.cpp | 2 +- indra/newview/llpaneleventinfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpaneldirland.cpp b/indra/newview/llpaneldirland.cpp index 53c58d8fa9..e2ef44a604 100644 --- a/indra/newview/llpaneldirland.cpp +++ b/indra/newview/llpaneldirland.cpp @@ -197,7 +197,7 @@ void LLPanelDirLand::performQuery() if (list) { std::string sort_name = list->getSortColumnName(); - BOOL sort_asc = list->getSortAscending(); + bool sort_asc = list->getSortAscending(); if (sort_name == "name") { diff --git a/indra/newview/llpaneleventinfo.cpp b/indra/newview/llpaneleventinfo.cpp index 27d986e322..b98ed5a22a 100644 --- a/indra/newview/llpaneleventinfo.cpp +++ b/indra/newview/llpaneleventinfo.cpp @@ -142,7 +142,7 @@ bool LLPanelEventInfo::processEventInfoReply(LLEventInfo event) const auto region_handle = to_region_handle(event.mPosGlobal); LLWorldMapMessage::getInstance()->sendHandleRegionRequest( region_handle, - [=](U64 requested_region_handle, const std::string&, const LLUUID&, bool) + [=, this](U64 requested_region_handle, const std::string&, const LLUUID&, bool) { if (region_handle != requested_region_handle) return;