Skip to content

Commit

Permalink
Fix OSX build
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jun 5, 2020
1 parent 15d9605 commit 95b96cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class CSRAdapter : public detail::SingleBatchDataIter<CSRAdapterBatch> {
const CSRAdapterBatch& Value() const override { return batch_; }
size_t NumRows() const { return num_rows_; }
size_t NumColumns() const { return num_columns_; }
~CSRAdapter() noexcept(false) override = default;
~CSRAdapter() noexcept override = default;

private:
CSRAdapterBatch batch_;
Expand Down Expand Up @@ -223,7 +223,7 @@ class DenseAdapter : public detail::SingleBatchDataIter<DenseAdapterBatch> {

size_t NumRows() const { return num_rows_; }
size_t NumColumns() const { return num_columns_; }
~DenseAdapter() noexcept(false) override = default;
~DenseAdapter() noexcept override = default;

private:
DenseAdapterBatch batch_;
Expand Down

0 comments on commit 95b96cd

Please sign in to comment.