Skip to content

Commit

Permalink
rm duplicate defalut parameter setting in function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagenbrenner authored and Wagenbrenner committed Jul 25, 2024
1 parent 1f1fe29 commit 3f1001e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ninja/ninjaArmy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ int ninjaArmy::setColMaxSampleHeightAGL( const int nIndex, const double colMaxSa
}
return retval;
}
int ninjaArmy::setTurbKml_colorRampType( const int nIndex, const std::string colorRampType, char ** papszOptions=NULL )
int ninjaArmy::setTurbKml_colorRampType( const int nIndex, const std::string colorRampType, char ** papszOptions )
{
int retval = NINJA_E_INVALID;
IF_VALID_INDEX( nIndex, ninjas )
Expand All @@ -1265,7 +1265,7 @@ int ninjaArmy::setTurbKml_colorRampType( const int nIndex, const std::string col
}
return retval;
}
int ninjaArmy::setTurbKml_nColorBreaks( const int nIndex, const int nColorBreaks, char ** papszOptions=NULL )
int ninjaArmy::setTurbKml_nColorBreaks( const int nIndex, const int nColorBreaks, char ** papszOptions )
{
int retval = NINJA_E_INVALID;
IF_VALID_INDEX( nIndex, ninjas )
Expand All @@ -1282,7 +1282,7 @@ int ninjaArmy::setTurbKml_nColorBreaks( const int nIndex, const int nColorBreaks
}
return retval;
}
int ninjaArmy::setTurbKml_colorBreakVals( const int nIndex, const double desiredBrk0, const double desiredBrk1, const double desiredBrk2, const double desiredBrk3, char ** papszOptions=NULL )
int ninjaArmy::setTurbKml_colorBreakVals( const int nIndex, const double desiredBrk0, const double desiredBrk1, const double desiredBrk2, const double desiredBrk3, char ** papszOptions )
{
int retval = NINJA_E_INVALID;
IF_VALID_INDEX( nIndex, ninjas )
Expand Down

0 comments on commit 3f1001e

Please sign in to comment.