mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed type compare
This commit is contained in:
@@ -332,7 +332,7 @@ QList<caf::PdmOptionItemInfo> RimEclipseResultDefinition::calculateValueOptions(
|
|||||||
if ( !hasFlowDiagFluxes )
|
if ( !hasFlowDiagFluxes )
|
||||||
{
|
{
|
||||||
using ResCatEnum = caf::AppEnum< RimDefines::ResultCatType >;
|
using ResCatEnum = caf::AppEnum< RimDefines::ResultCatType >;
|
||||||
for ( int i = 0; i < ResCatEnum::size(); ++i )
|
for ( size_t i = 0; i < ResCatEnum::size(); ++i )
|
||||||
{
|
{
|
||||||
RimDefines::ResultCatType resType = ResCatEnum::fromIndex(i);
|
RimDefines::ResultCatType resType = ResCatEnum::fromIndex(i);
|
||||||
if ( resType != RimDefines::FLOW_DIAGNOSTICS )
|
if ( resType != RimDefines::FLOW_DIAGNOSTICS )
|
||||||
|
|||||||
Reference in New Issue
Block a user