mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6491 Fix range iterators which was creating data copies (clang10 warnings).
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user