From d659aa567f322c212b55f3677cb4d8d86656e104 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 28 Apr 2023 09:42:42 +0200 Subject: [PATCH] reorder initialization lists --- external/resinsight/ReservoirDataModel/RigWellPath.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/external/resinsight/ReservoirDataModel/RigWellPath.cpp b/external/resinsight/ReservoirDataModel/RigWellPath.cpp index 16767f47c..a51626218 100644 --- a/external/resinsight/ReservoirDataModel/RigWellPath.cpp +++ b/external/resinsight/ReservoirDataModel/RigWellPath.cpp @@ -30,9 +30,9 @@ namespace external { //-------------------------------------------------------------------------------------------------- RigWellPath::RigWellPath() : cvf::Object() + , objectBeingDeleted( this ) , m_hasDatumElevation( false ) , m_datumElevation( 0.0 ) - , objectBeingDeleted( this ) , m_uniqueStartIndex( 0u ) , m_uniqueEndIndex( std::numeric_limits::max() ) { @@ -43,13 +43,13 @@ RigWellPath::RigWellPath() //-------------------------------------------------------------------------------------------------- RigWellPath::RigWellPath( const RigWellPath& rhs ) : cvf::Object() + , objectBeingDeleted( this ) , m_wellPathPoints( rhs.m_wellPathPoints ) , m_measuredDepths( rhs.m_measuredDepths ) , m_hasDatumElevation( rhs.m_hasDatumElevation ) , m_datumElevation( rhs.m_datumElevation ) , m_uniqueStartIndex( rhs.m_uniqueStartIndex ) , m_uniqueEndIndex( rhs.m_uniqueEndIndex ) - , objectBeingDeleted( this ) { CVF_ASSERT( m_wellPathPoints.size() == m_measuredDepths.size() ); } @@ -59,12 +59,12 @@ RigWellPath::RigWellPath( const RigWellPath& rhs ) //-------------------------------------------------------------------------------------------------- RigWellPath::RigWellPath( const std::vector& wellPathPoints, const std::vector& measuredDepths ) : cvf::Object() + , objectBeingDeleted( this ) , m_wellPathPoints( wellPathPoints ) , m_measuredDepths( measuredDepths ) , m_hasDatumElevation( false ) , m_datumElevation( 0.0 ) , m_uniqueStartIndex( 0u ) - , objectBeingDeleted( this ) , m_uniqueEndIndex( std::numeric_limits::max() ) { CVF_ASSERT( m_wellPathPoints.size() == m_measuredDepths.size() );