mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Some fixes for new gcc/clang
Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
This commit is contained in:
@@ -2901,7 +2901,7 @@ void RigCaseCellResultsData::computeCompletionTypeForTimeStep( size_t timeStep )
|
||||
|
||||
// If permeabilities are generated by calculations, make sure that generated data is calculated
|
||||
// See RicExportFractureCompletionsImpl::generateCompdatValues()
|
||||
for ( const QString& propertyName : { "PERMX", "PERMY", "PERMZ" } )
|
||||
for ( const QString propertyName : { "PERMX", "PERMY", "PERMZ" } )
|
||||
{
|
||||
for ( auto userCalculation : RimProject::current()->gridCalculationCollection()->calculations() )
|
||||
{
|
||||
|
||||
@@ -99,7 +99,8 @@ private:
|
||||
SourceAddress( QString primary = "",
|
||||
QString secondary = "",
|
||||
QString units = RiaWellLogUnitTools<double>::noUnitString() )
|
||||
: primary( primary )
|
||||
: resType( RIG_NODAL )
|
||||
, primary( primary )
|
||||
, secondary( secondary )
|
||||
, units( units )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user