Skip to content

Commit

Permalink
Use contructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Apr 29, 2022
1 parent 4e82d5a commit 759ef91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/device_helpers.cuh
Expand Up @@ -725,6 +725,7 @@ using TypedDiscardCTK114 = thrust::discard_iterator<T>;
template <typename T>
class TypedDiscard : public thrust::discard_iterator<T> {
public:
using thrust::discard_iterator<T>::discard_iterator;
using value_type = T; // NOLINT
};
} // namespace detail
Expand Down

0 comments on commit 759ef91

Please sign in to comment.