From a18a65174b21bc4933aeac5b37141faa4a6f2875 Mon Sep 17 00:00:00 2001 From: Wes McKinney Date: Tue, 27 Dec 2016 00:06:09 -0500 Subject: [PATCH] Fix compiler warning in clang Change-Id: Idf0fcb17fa177c7ba371132527672d0c343066b6 --- cpp/src/arrow/array.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {