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:
Magne Sjaastad committed 2023-01-19 08:33:02 +01:00
1 parent 712bad97bd
commit abc9e82ff5
17 files changed
+40 -20

No files matched your search

@@ -519,7 +519,7 @@ bool RimCellEdgeColors::showTextResult() const
//--------------------------------------------------------------------------------------------------
void RimCellEdgeColors::updateIgnoredScalarValue()
{
if ( m_resultVariable == "MULT" || m_resultVariable == "riMULT" )
if ( m_resultVariable() == "MULT" || m_resultVariable() == "riMULT" )
{
m_ignoredResultScalar = 1.0;
}