Switch to using typedef'd uuid types everywhere and auto for iterators
Oh, and some related opts.
This commit is contained in:
@@ -1507,7 +1507,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
|
||||
gInventory.getDirectDescendentsOf(cat->getUUID(),cat_array,item_array);
|
||||
|
||||
// We use a composite (type,permission) key on that map to store UUIDs of items of same (type,permissions)
|
||||
std::map<U32, std::vector<LLUUID> > items_vector;
|
||||
std::map<U32, uuid_vec_t > items_vector;
|
||||
|
||||
// Parse the items and create vectors of item UUIDs sorting copyable items and stock items of various types
|
||||
bool has_bad_items = false;
|
||||
@@ -1613,7 +1613,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
|
||||
((folder_type != LLFolderType::FT_MARKETPLACE_STOCK) && (unique_key != default_key)))
|
||||
{
|
||||
// Create one folder per vector at the right depth and of the right type
|
||||
std::map<U32, std::vector<LLUUID> >::iterator items_vector_it = items_vector.begin();
|
||||
auto items_vector_it = items_vector.begin();
|
||||
while (items_vector_it != items_vector.end())
|
||||
{
|
||||
// Create a new folder
|
||||
|
||||
Reference in New Issue
Block a user