#6491 Fix range iterators which was creating data copies (clang10 warnings).

This commit is contained in:
Kristian Bendiksen
2020-09-14 20:17:20 +02:00
parent ef7517f1cb
commit 69a1901904
13 changed files with 20 additions and 20 deletions

View File

@@ -118,7 +118,7 @@ std::map<QString, cvf::ref<RigWellPathFormations>>
formations[wellNames[i]].push_back( formation );
}
for ( const std::pair<QString, std::vector<RigWellPathFormation>>& formation : formations )
for ( const std::pair<const QString, std::vector<RigWellPathFormation>>& formation : formations )
{
cvf::ref<RigWellPathFormations> wellPathFormations =
new RigWellPathFormations( formation.second, filePath, formation.first );