diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-10-12 22:52:45 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-10-12 22:53:36 +0300 | 
| commit | 131996176f647e710bf4625cc2f93a631be9bcb2 (patch) | |
| tree | d41da75c1f73a573d8c6f60a7f1f8aea50ace94c | |
| parent | 0a2b748705c6e74eaff814d48b8b110c1364b45f (diff) | |
SL-14078 Small optimization
| -rw-r--r-- | indra/newview/llinventorybridge.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llinventorybridge.h | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 7f2c7c6103..18fbbb8650 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -7644,7 +7644,7 @@ void LLFolderViewGroupedItemBridge::groupFilterContextMenu(folder_view_item_dequ  	disable_context_entries_if_present(menu, disabled_items);  } -bool LLFolderViewGroupedItemBridge::canWearSelected(const uuid_vec_t item_ids) const +bool LLFolderViewGroupedItemBridge::canWearSelected(const uuid_vec_t& item_ids) const  {  	for (uuid_vec_t::const_iterator it = item_ids.begin(); it != item_ids.end(); ++it)  	{ diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index 07994ca467..9af8664388 100644 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -760,7 +760,7 @@ class LLFolderViewGroupedItemBridge: public LLFolderViewGroupedItemModel  public:      LLFolderViewGroupedItemBridge();      virtual void groupFilterContextMenu(folder_view_item_deque& selected_items, LLMenuGL& menu); -    bool canWearSelected(const uuid_vec_t item_ids) const; +    bool canWearSelected(const uuid_vec_t& item_ids) const;  };  #endif // LL_LLINVENTORYBRIDGE_H | 
