From f65b43a81766eef6b9d3c0958df56b22295dcc50 Mon Sep 17 00:00:00 2001 From: b3brodie Date: Sat, 14 Dec 2024 14:36:15 -0800 Subject: [PATCH] fix unused parameter --- src/math_parser_diag.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math_parser_diag.cpp b/src/math_parser_diag.cpp index 483df45751b0b..b21b2f817a61b 100644 --- a/src/math_parser_diag.cpp +++ b/src/math_parser_diag.cpp @@ -517,14 +517,14 @@ diag_assign_dbl_f hp_ass( char scope, std::vector const ¶ms, }; } -diag_eval_dbl_f degradation_eval( char scope, std::vector const ¶ms, +diag_eval_dbl_f degradation_eval( char scope, std::vector 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 const ¶ms, +diag_assign_dbl_f degradation_ass( char scope, std::vector const & /* params */, diag_kwargs const & /* kwargs */ ) { return [beta = is_beta( scope )]( dialogue const & d, double val ) {