mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Some fixes for new gcc/clang
Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
This commit is contained in:
1 parent
69ccce225c
commit
dfa1bc2cd0
12 files changed
+24
-14
No files matched your search
@@ -199,7 +199,7 @@ const RifRftSegmentData* RifRftSegment::segmentData( int segmentNumber ) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const RifRftSegmentData* RifRftSegment::segmentDataByIndex( int segmentIndex ) const
|
||||
{
|
||||
CVF_ASSERT( segmentIndex < m_topology.size() );
|
||||
CVF_ASSERT( segmentIndex < static_cast<int>( m_topology.size() ) );
|
||||
|
||||
return &( m_topology[segmentIndex] );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user