Skip to content

Commit

Permalink
GH-43592: [C++] Remove redundant default constructor/deconstructor in…
Browse files Browse the repository at this point in the history
… arrow::ArrayStatistics (#43579)

### Rationale for this change

`= default` constructor/deconstructor are needless in `arrow::ArrayStatistics`.

### What changes are included in this PR?

Remove them.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #43592

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou authored Aug 7, 2024
1 parent b59eb0d commit 06f9aee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cpp/src/arrow/array/statistics.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ struct ARROW_EXPORT ArrayStatistics {
std::variant<bool, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t,
uint64_t, util::Float16, float, double, std::string, std::string_view>;

ArrayStatistics() = default;
~ArrayStatistics() = default;

/// \brief The number of null values, may not be set
std::optional<int64_t> null_count = std::nullopt;

Expand Down

0 comments on commit 06f9aee

Please sign in to comment.