Skip to content

Commit

Permalink
fix unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
b3brodie committed Dec 14, 2024
1 parent f862fff commit f65b43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/math_parser_diag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,14 +517,14 @@ diag_assign_dbl_f hp_ass( char scope, std::vector<diag_value> const &params,
};
}

diag_eval_dbl_f degradation_eval( char scope, std::vector<diag_value> const &params,
diag_eval_dbl_f degradation_eval( char scope, std::vector<diag_value> const & /* params */,
diag_kwargs const & )
{
return[beta = is_beta( scope )]( const_dialogue const & d ) {
return d.const_actor( beta )->get_degradation();
};
}
diag_assign_dbl_f degradation_ass( char scope, std::vector<diag_value> const &params,
diag_assign_dbl_f degradation_ass( char scope, std::vector<diag_value> const & /* params */,
diag_kwargs const & /* kwargs */ )
{
return [beta = is_beta( scope )]( dialogue const & d, double val ) {
Expand Down

0 comments on commit f65b43a

Please sign in to comment.