Skip to content

Commit

Permalink
Fixing build break that only affects MSVC compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jaccz authored Feb 16, 2022
1 parent 88a9eb6 commit 5fb0537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/gcdmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ bool CGcdData::fixModelAndSubmodelOrder()
size_t inputParamCount = _modelData.TotalParameterCount() - _modelData.ResultParameterCount();

if( _modelData.ProvidedArguments.find( SWITCH_ORDER ) == _modelData.ProvidedArguments.end()
or _modelData.Order == MAXIMUM_ORDER )
|| _modelData.Order == MAXIMUM_ORDER )
{
// if submodels were defined, don't need any params, otherwise order = params without submodels
if( _modelData.Submodels.size() > 0 )
Expand Down

0 comments on commit 5fb0537

Please sign in to comment.