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