From 9b5e805966f5a824193c6ab80da65ba5d1e76b26 Mon Sep 17 00:00:00 2001 From: Panchen Xue Date: Wed, 17 Jan 2018 16:24:48 -0500 Subject: [PATCH] Update ReserveData(int64_t) method signature for BinaryBuilder Replace parameter name from "bytes" to "capacity" to avoid confusion. --- cpp/src/arrow/builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/builder.h b/cpp/src/arrow/builder.h index 045334e5e4e2e..59293bff4b8c2 100644 --- a/cpp/src/arrow/builder.h +++ b/cpp/src/arrow/builder.h @@ -682,7 +682,7 @@ class ARROW_EXPORT BinaryBuilder : public ArrayBuilder { Status Init(int64_t elements) override; Status Resize(int64_t capacity) override; - Status ReserveData(int64_t bytes); + Status ReserveData(int64_t capacity); Status FinishInternal(std::shared_ptr* out) override; /// \return size of values buffer so far