Rename context in Metric. (#8686)

This commit is contained in:
Jiaming Yuan
2023-01-17 01:10:13 +08:00
committed by GitHub
parent d6018eb4b9
commit 9f598efc3e
8 changed files with 72 additions and 76 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Copyright 2014 by Contributors
/**
* Copyright 2014-2023 by XGBoost Contributors
* \file metric.h
* \brief interface of evaluation metric function supported in xgboost.
* \author Tianqi Chen, Kailong Chen
@@ -27,7 +27,7 @@ struct Context;
*/
class Metric : public Configurable {
protected:
Context const* tparam_;
Context const* ctx_;
public:
/*!