diff --git a/include/LightGBM/objective_function.h b/include/LightGBM/objective_function.h index e42ec41fcd8..3a46b63c80e 100644 --- a/include/LightGBM/objective_function.h +++ b/include/LightGBM/objective_function.h @@ -43,7 +43,7 @@ class ObjectiveFunction { virtual bool IsRenewTreeOutput() const { return false; } - virtual double RenewTreeOutput(double ori_output, std::function residual_getter, + virtual double RenewTreeOutput(double ori_output, std::function, const data_size_t*, const data_size_t*, data_size_t) const { return ori_output; }