Replace auto

This commit is contained in:
Rebecca Cox 2018-01-12 12:43:36 +01:00
parent b08e382dae
commit 27f7f07ffd

View File

@ -173,7 +173,7 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
std::map<std::string, std::vector<float>> elementProperties = m_elementPropertyReader->readAllElementPropertiesInFileContainingField(resVarAddr.fieldName);
std::vector<RigFemScalarResultFrames*> resultsForEachComponent;
for (auto elem : elementProperties)
for (std::pair< std::string, std::vector<float>> elem : elementProperties)
{
RigFemResultAddress addressForElement(RIG_ELEMENT, elem.first, "");
RigFemScalarResultFrames* currentFrames = m_femPartResults[partIndex]->createScalarResult(addressForElement);