C++14 for xgboost (#5664)
This commit is contained in:
@@ -699,7 +699,7 @@ class GlobalProposalHistMaker: public CQHistMaker {
|
||||
this->work_set_.insert(this->work_set_.end(), this->fsplit_set_.begin(),
|
||||
this->fsplit_set_.end());
|
||||
XGBOOST_PARALLEL_SORT(this->work_set_.begin(), this->work_set_.end(),
|
||||
std::less<decltype(this->work_set_)::value_type>{});
|
||||
std::less<>{});
|
||||
this->work_set_.resize(
|
||||
std::unique(this->work_set_.begin(), this->work_set_.end()) - this->work_set_.begin());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user