diff --git a/cpp/src/arrow/array.h b/cpp/src/arrow/array.h index 26d53f7d758..5cd56d6df54 100644 --- a/cpp/src/arrow/array.h +++ b/cpp/src/arrow/array.h @@ -147,7 +147,9 @@ class ARROW_EXPORT NumericArray : public PrimitiveArray { return PrimitiveArray::EqualsExact(static_cast(other)); } - bool ApproxEquals(const std::shared_ptr& arr) const { return Equals(arr); } + bool ApproxEquals(const std::shared_ptr& arr) const override { + return Equals(arr); + } bool RangeEquals(int32_t start_idx, int32_t end_idx, int32_t other_start_idx, const ArrayPtr& arr) const override {