mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Fixes by clang-tidy
This commit is contained in:
1 parent
63fcc8a29f
commit
eac4c7f876
1 file changed
+1
-1
@@ -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