diff --git a/cpp/src/parquet/column_page.h b/cpp/src/parquet/column_page.h index 111265a842e..1b3d4cfd413 100644 --- a/cpp/src/parquet/column_page.h +++ b/cpp/src/parquet/column_page.h @@ -44,6 +44,8 @@ class Page { Page(const std::shared_ptr& buffer, PageType::type type) : buffer_(buffer), type_(type) {} + virtual ~Page() = default; + PageType::type type() const { return type_; } std::shared_ptr buffer() const { return buffer_; }