mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 02:12:12 -05: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:
1 parent
712bad97bd
commit
abc9e82ff5
17 files changed
+40
-20
No files matched your search
@@ -1277,12 +1277,12 @@ void RimEclipseResultDefinition::initAfterRead()
|
||||
assignFlowSolutionFromCase();
|
||||
}
|
||||
|
||||
if ( m_resultVariable == "Formation Allen" )
|
||||
if ( m_resultVariable() == "Formation Allen" )
|
||||
{
|
||||
m_resultVariable = RiaResultNames::formationAllanResultName();
|
||||
m_resultType = RiaDefines::ResultCatType::ALLAN_DIAGRAMS;
|
||||
}
|
||||
else if ( m_resultVariable == "Binary Formation Allen" )
|
||||
else if ( m_resultVariable() == "Binary Formation Allen" )
|
||||
{
|
||||
m_resultVariable = RiaResultNames::formationBinaryAllanResultName();
|
||||
m_resultType = RiaDefines::ResultCatType::ALLAN_DIAGRAMS;
|
||||
|
||||
Reference in new issue
Block a user