Minor cleanup. Octree vfunc reduction. Range-based for loops with map/array llsd types.
This commit is contained in:
@@ -672,11 +672,9 @@ void AISUpdate::parseUUIDArray(const LLSD& content, const std::string& name, uui
|
||||
{
|
||||
if (content.has(name))
|
||||
{
|
||||
for(LLSD::array_const_iterator it = content[name].beginArray(),
|
||||
end = content[name].endArray();
|
||||
it != end; ++it)
|
||||
for (auto& id : content[name].array())
|
||||
{
|
||||
ids.insert((*it).asUUID());
|
||||
ids.insert(id.asUUID());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user