Base: Fix warning -Wrange-loop-construct

This commit is contained in:
marioalexis
2022-08-26 14:34:34 -03:00
committed by wwmayer
parent dd95969695
commit 4cd8e2e93f

View File

@@ -1027,7 +1027,7 @@ std::vector<InventorLoader::Face> InventorLoader::convert(const std::vector<std:
{
std::vector<Face> faces;
faces.reserve(coordIndex.size());
for (const auto it : coordIndex) {
for (const auto& it : coordIndex) {
if (it.size() == 3) {
faces.emplace_back(it[0], it[1], it[2]);
}