mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Fixes by clang-tidy
This commit is contained in:
parent
478ac1868f
commit
3a54045c28
@ -34,7 +34,7 @@ class SimpleDialog : public QDialog
|
||||
|
||||
public:
|
||||
SimpleDialog( QWidget* parent = nullptr );
|
||||
~SimpleDialog();
|
||||
~SimpleDialog() override;
|
||||
|
||||
void createConnection();
|
||||
|
||||
|
@ -317,7 +317,7 @@ void RifReaderOpmCommon::transferStaticNNCData( Opm::EclIO::EGrid& opmMainGrid,
|
||||
connections.insert( connections.end(), conn.begin(), conn.end() );
|
||||
}
|
||||
|
||||
if ( connections.size() > 0 )
|
||||
if ( !connections.empty() )
|
||||
{
|
||||
// Transform to our own data structures
|
||||
RigConnectionContainer nncConnections;
|
||||
@ -805,7 +805,7 @@ void RifReaderOpmCommon::buildMetaData( RigEclipseCaseData* eclipseCaseData, caf
|
||||
eclipseCaseData,
|
||||
m_restartFile->numberOfReportSteps() );
|
||||
|
||||
if ( filteredTimeStepInfos.size() > 0 ) firstTimeStepInfo = filteredTimeStepInfos.front();
|
||||
if ( !filteredTimeStepInfos.empty() ) firstTimeStepInfo = filteredTimeStepInfos.front();
|
||||
}
|
||||
|
||||
if ( m_initFile != nullptr )
|
||||
|
Loading…
Reference in New Issue
Block a user