diff --git a/cpp/src/parquet/encoding.cc b/cpp/src/parquet/encoding.cc index c136671bd1327..5221f2588c0d3 100644 --- a/cpp/src/parquet/encoding.cc +++ b/cpp/src/parquet/encoding.cc @@ -442,7 +442,7 @@ class DictEncoderImpl : public EncoderImpl, virtual public DictEncoder { dict_encoded_size_(0), memo_table_(pool, kInitialHashTableSize) {} - ~DictEncoderImpl() override { DCHECK(buffered_indices_.empty()); } + ~DictEncoderImpl() = default; int dict_encoded_size() const override { return dict_encoded_size_; }