More C++11 cleanups, mostly from alchemy

This commit is contained in:
Lirusaito
2016-02-22 22:47:01 -05:00
parent 6a95f3b692
commit d15ac7640c
11 changed files with 89 additions and 98 deletions

View File

@@ -91,7 +91,6 @@
#include "rlvhandler.h"
#include "rlvlocks.h"
// [/RLVa:KB]
#include <boost/foreach.hpp>
// Marketplace outbox current disabled
#define ENABLE_MERCHANT_OUTBOX_CONTEXT_MENU 1
@@ -2498,7 +2497,7 @@ BOOL LLFolderBridge::dragCategoryIntoFolder(LLInventoryCategory* inv_cat,
LLInventoryModel::item_array_t items;
model->collectDescendents(cat_id, cats, items, LLInventoryModel::EXCLUDE_TRASH);
LLInventoryObject::const_object_list_t citems;
BOOST_FOREACH(LLPointer<LLViewerInventoryItem> item, items)
for (LLPointer<LLViewerInventoryItem> item : items)
{
citems.push_back(item.get());
}