From 17f0ef8f997055affa45459a6ad0f4acc62f4379 Mon Sep 17 00:00:00 2001 From: chanayane Date: Wed, 3 Sep 2025 23:25:36 +0200 Subject: [PATCH] fix for macOS build --- indra/llui/llfolderviewmodel.h | 2 +- indra/newview/llwearableitemslist.cpp | 4 ++-- indra/newview/llwearableitemslist.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/llui/llfolderviewmodel.h b/indra/llui/llfolderviewmodel.h index c971c70314..812063feda 100644 --- a/indra/llui/llfolderviewmodel.h +++ b/indra/llui/llfolderviewmodel.h @@ -378,7 +378,7 @@ protected: virtual bool hasParent() override { return mParent != NULL; } // - virtual LLFolderViewModelItem* getParent() const { return mParent; } + virtual LLFolderViewModelItem* getParent() const override { return mParent; } S32 mSortVersion; bool mPassedFilter; diff --git a/indra/newview/llwearableitemslist.cpp b/indra/newview/llwearableitemslist.cpp index ec4beff41f..b5f1622d7a 100644 --- a/indra/newview/llwearableitemslist.cpp +++ b/indra/newview/llwearableitemslist.cpp @@ -575,9 +575,9 @@ void FSPanelCOFWearableOutfitListItem::updateItemWeight(U32 item_weight) } //virtual -void FSPanelCOFWearableOutfitListItem::updateItem(const std::string& name, EItemState item_state) +void FSPanelCOFWearableOutfitListItem::updateItem(const std::string& name, bool favorite, EItemState item_state) { - LLPanelWearableOutfitItem::updateItem(name, item_state); + LLPanelWearableOutfitItem::updateItem(name, favorite, item_state); mWeightCtrl->setVisible(true); reshapeWidgets(); } diff --git a/indra/newview/llwearableitemslist.h b/indra/newview/llwearableitemslist.h index 57cb51e01f..263a04c86c 100644 --- a/indra/newview/llwearableitemslist.h +++ b/indra/newview/llwearableitemslist.h @@ -256,7 +256,7 @@ public: void updateItemWeight(U32 item_weight); - /*virtual*/ void updateItem(const std::string& name, EItemState item_state = IS_DEFAULT); + /*virtual*/ void updateItem(const std::string& name, bool favorite, EItemState item_state = IS_DEFAULT); /*virtual*/ void onMouseLeave(S32 x, S32 y, MASK mask);