Remove unused code. (#7293)

This commit is contained in:
Jiaming Yuan
2021-10-12 15:04:41 +08:00
committed by GitHub
parent 130df8cdda
commit a7d0c66457
2 changed files with 0 additions and 8 deletions

View File

@@ -19,9 +19,6 @@
namespace xgboost {
namespace metric {
namespace {
template <typename T>
using Discard = thrust::discard_iterator<T>;
struct GetWeightOp {
common::Span<float const> weights;
common::Span<size_t const> sorted_idx;