#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

@@ -1086,7 +1086,7 @@ void RimEnsembleCurveSet::showCurves( bool show )
//--------------------------------------------------------------------------------------------------
void RimEnsembleCurveSet::markCachedDataForPurge()
{
for ( const auto curve : m_curves )
for ( const auto& curve : m_curves )
{
curve->markCachedDataForPurge();
}