mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System: Enable and use c++20
Enable c++20 in top level cmake. Keep c++17 for GrpcInterface, as the protoc tool does not work with c++20. Several code adjustments to fix compiler issues.
This commit is contained in:
@@ -111,9 +111,9 @@ void RimFileWellPath::setWellPathIndexInFile( int index )
|
||||
void RimFileWellPath::setSurveyType( QString surveyType )
|
||||
{
|
||||
m_surveyType = surveyType;
|
||||
if ( m_surveyType == "PLAN" )
|
||||
if ( m_surveyType() == "PLAN" )
|
||||
setWellPathColor( cvf::Color3f( 0.999f, 0.333f, 0.0f ) );
|
||||
else if ( m_surveyType == "PROTOTYPE" )
|
||||
else if ( m_surveyType() == "PROTOTYPE" )
|
||||
setWellPathColor( cvf::Color3f( 0.0f, 0.333f, 0.999f ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user