Fixes warnings about initialization order.

This commit is contained in:
Markus Blatt 2023-04-11 17:36:00 +02:00
parent 580bb30f8e
commit db1c823cbb
2 changed files with 4 additions and 4 deletions

View File

@ -32,9 +32,9 @@ RigWellPath::RigWellPath()
: cvf::Object() : cvf::Object()
, m_hasDatumElevation( false ) , m_hasDatumElevation( false )
, m_datumElevation( 0.0 ) , m_datumElevation( 0.0 )
, objectBeingDeleted( this )
, m_uniqueStartIndex( 0u ) , m_uniqueStartIndex( 0u )
, m_uniqueEndIndex( std::numeric_limits<size_t>::max() ) , m_uniqueEndIndex( std::numeric_limits<size_t>::max() )
, objectBeingDeleted( this )
{ {
} }
@ -64,8 +64,8 @@ RigWellPath::RigWellPath( const std::vector<cvf::Vec3d>& wellPathPoints, const s
, m_hasDatumElevation( false ) , m_hasDatumElevation( false )
, m_datumElevation( 0.0 ) , m_datumElevation( 0.0 )
, m_uniqueStartIndex( 0u ) , m_uniqueStartIndex( 0u )
, m_uniqueEndIndex( std::numeric_limits<size_t>::max() )
, objectBeingDeleted( this ) , objectBeingDeleted( this )
, m_uniqueEndIndex( std::numeric_limits<size_t>::max() )
{ {
CVF_ASSERT( m_wellPathPoints.size() == m_measuredDepths.size() ); CVF_ASSERT( m_wellPathPoints.size() == m_measuredDepths.size() );
} }

View File

@ -926,10 +926,10 @@ void EdgeSplitStorage::canonizeAddress( size_t& edgeP1Index, size_t& edgeP2Index
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
EarClipTesselator::EarClipTesselator() EarClipTesselator::EarClipTesselator()
: m_X( -1 ) : m_nodeCoords( nullptr )
, m_X( -1 )
, m_Y( -1 ) , m_Y( -1 )
, m_areaTolerance( 1e-12 ) , m_areaTolerance( 1e-12 )
, m_nodeCoords( nullptr )
{ {
} }