Skip to content

Commit 15d9605

Browse files
committed
Try again.
1 parent 10579b4 commit 15d9605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/data/adapter.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ class CSRAdapter : public detail::SingleBatchDataIter<CSRAdapterBatch> {
169169
const CSRAdapterBatch& Value() const override { return batch_; }
170170
size_t NumRows() const { return num_rows_; }
171171
size_t NumColumns() const { return num_columns_; }
172+
~CSRAdapter() noexcept(false) override = default;
172173

173174
private:
174175
CSRAdapterBatch batch_;
@@ -222,6 +223,7 @@ class DenseAdapter : public detail::SingleBatchDataIter<DenseAdapterBatch> {
222223

223224
size_t NumRows() const { return num_rows_; }
224225
size_t NumColumns() const { return num_columns_; }
226+
~DenseAdapter() noexcept(false) override = default;
225227

226228
private:
227229
DenseAdapterBatch batch_;

0 commit comments

Comments
 (0)