Mark SparsePageDmatrix destructor default. (#4568)
This commit is contained in:
parent
c5719cc457
commit
66f9951d70
@ -24,6 +24,7 @@ class SparsePageDMatrix : public DMatrix {
|
|||||||
explicit SparsePageDMatrix(std::unique_ptr<DataSource>&& source,
|
explicit SparsePageDMatrix(std::unique_ptr<DataSource>&& source,
|
||||||
std::string cache_info)
|
std::string cache_info)
|
||||||
: row_source_(std::move(source)), cache_info_(std::move(cache_info)) {}
|
: row_source_(std::move(source)), cache_info_(std::move(cache_info)) {}
|
||||||
|
virtual ~SparsePageDMatrix() = default;
|
||||||
|
|
||||||
MetaInfo& Info() override;
|
MetaInfo& Info() override;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user