mirror of
				https://github.com/OPM/ResInsight.git
				synced 2025-02-25 18:55:39 -06:00 
			
		
		
		
	Fix build issues MSVC 17.6.2
This commit is contained in:
		
				
					committed by
					
						
						jonjenssen
					
				
			
			
				
	
			
			
			
						parent
						
							e1784bb37a
						
					
				
				
					commit
					0e25f364f8
				
			@@ -158,7 +158,7 @@ RimWellLogExtractionCurve::~RimWellLogExtractionCurve()
 | 
			
		||||
void RimWellLogExtractionCurve::setWellPath( RimWellPath* wellPath )
 | 
			
		||||
{
 | 
			
		||||
    m_wellPath = wellPath;
 | 
			
		||||
    if ( m_wellPath == m_refWellPath ) m_refWellPath = nullptr;
 | 
			
		||||
    if ( m_wellPath() == m_refWellPath() ) m_refWellPath = nullptr;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//--------------------------------------------------------------------------------------------------
 | 
			
		||||
@@ -306,7 +306,7 @@ void RimWellLogExtractionCurve::fieldChangedByUi( const caf::PdmFieldHandle* cha
 | 
			
		||||
    }
 | 
			
		||||
    else if ( changedField == &m_wellPath )
 | 
			
		||||
    {
 | 
			
		||||
        if ( m_wellPath == m_refWellPath ) m_refWellPath = nullptr;
 | 
			
		||||
        if ( m_wellPath() == m_refWellPath() ) m_refWellPath = nullptr;
 | 
			
		||||
        this->loadDataAndUpdate( true );
 | 
			
		||||
    }
 | 
			
		||||
    else if ( ( changedField == &m_refWellPath ) || ( changedField == &m_timeStep ) || ( changedField == &m_trajectoryType ) ||
 | 
			
		||||
 
 | 
			
		||||
@@ -118,8 +118,6 @@ std::set<RigTransmissibilityCondenser::CellAddress> RigTransmissibilityCondenser
 | 
			
		||||
//--------------------------------------------------------------------------------------------------
 | 
			
		||||
double RigTransmissibilityCondenser::condensedTransmissibility( CellAddress externalCell1, CellAddress externalCell2 )
 | 
			
		||||
{
 | 
			
		||||
    CAF_ASSERT( !( externalCell1 == externalCell2 ) );
 | 
			
		||||
 | 
			
		||||
    if ( m_condensedTransmissibilities.empty() )
 | 
			
		||||
    {
 | 
			
		||||
        calculateCondensedTransmissibilities();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user