mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 13:47:12 -05:00
Fixes by clang-tidy
This commit is contained in:
@@ -813,7 +813,7 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
|
||||
sumMainCollection->updateAutoShortName();
|
||||
|
||||
int stepSize = 1;
|
||||
if ( sumMainCollection->summaryEnsembles().size() > 0 )
|
||||
if ( !sumMainCollection->summaryEnsembles().empty() )
|
||||
{
|
||||
stepSize = std::max( 1, int( taskSteps / sumMainCollection->summaryEnsembles().size() ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user