SplitLargeMeshes: Use C++11 range-based for loop
parent
896ab8eee2
commit
381f87507f
|
@ -459,11 +459,9 @@ void SplitLargeMeshesProcess_Vertex::SplitMesh(
|
||||||
if (iBase)
|
if (iBase)
|
||||||
{
|
{
|
||||||
// we can't use memset here we unsigned int needn' be 32 bits
|
// we can't use memset here we unsigned int needn' be 32 bits
|
||||||
for (std::vector<unsigned int>::iterator
|
for (auto &elem : avWasCopied)
|
||||||
iter = avWasCopied.begin(),end = avWasCopied.end();
|
|
||||||
iter != end;++iter)
|
|
||||||
{
|
{
|
||||||
(*iter) = 0xffffffff;
|
elem = 0xffffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue