diff --git a/external/resinsight/ReservoirDataModel/RigWellPath.cpp b/external/resinsight/ReservoirDataModel/RigWellPath.cpp index 283349d31..16767f47c 100644 --- a/external/resinsight/ReservoirDataModel/RigWellPath.cpp +++ b/external/resinsight/ReservoirDataModel/RigWellPath.cpp @@ -32,9 +32,9 @@ RigWellPath::RigWellPath() : cvf::Object() , m_hasDatumElevation( false ) , m_datumElevation( 0.0 ) + , objectBeingDeleted( this ) , m_uniqueStartIndex( 0u ) , m_uniqueEndIndex( std::numeric_limits::max() ) - , objectBeingDeleted( this ) { } @@ -64,8 +64,8 @@ RigWellPath::RigWellPath( const std::vector& wellPathPoints, const s , m_hasDatumElevation( false ) , m_datumElevation( 0.0 ) , m_uniqueStartIndex( 0u ) - , m_uniqueEndIndex( std::numeric_limits::max() ) , objectBeingDeleted( this ) + , m_uniqueEndIndex( std::numeric_limits::max() ) { CVF_ASSERT( m_wellPathPoints.size() == m_measuredDepths.size() ); } diff --git a/external/resinsight/ReservoirDataModel/cvfGeometryTools.cpp b/external/resinsight/ReservoirDataModel/cvfGeometryTools.cpp index eeef0c39f..7eb7618e4 100644 --- a/external/resinsight/ReservoirDataModel/cvfGeometryTools.cpp +++ b/external/resinsight/ReservoirDataModel/cvfGeometryTools.cpp @@ -926,10 +926,10 @@ void EdgeSplitStorage::canonizeAddress( size_t& edgeP1Index, size_t& edgeP2Index /// //-------------------------------------------------------------------------------------------------- EarClipTesselator::EarClipTesselator() - : m_X( -1 ) + : m_nodeCoords( nullptr ) + , m_X( -1 ) , m_Y( -1 ) , m_areaTolerance( 1e-12 ) - , m_nodeCoords( nullptr ) { }