Fix dump model. (#5485)

This commit is contained in:
Jiaming Yuan
2020-04-05 03:52:54 +08:00
committed by GitHub
parent 5fc5ec539d
commit a9313802ea
3 changed files with 3 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ class Learner : public Model, public Configurable, public rabit::Serializable {
*/
virtual std::vector<std::string> DumpModel(const FeatureMap& fmap,
bool with_stats,
std::string format) const = 0;
std::string format) = 0;
virtual XGBAPIThreadLocalEntry& GetThreadLocal() const = 0;
/*!