Skip to content

Commit 58b3bf6

Browse files
committed
Remove const qualifier from Buffer::mutable_span_as
1 parent 53e0c74 commit 58b3bf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cpp/src/arrow/buffer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class ARROW_EXPORT Buffer {
269269

270270
/// \brief Return the buffer's mutable data as a span
271271
template <typename T>
272-
util::span<T> mutable_span_as() const {
272+
util::span<T> mutable_span_as() {
273273
return util::span(mutable_data_as<T>(), static_cast<size_t>(size() / sizeof(T)));
274274
}
275275

0 commit comments

Comments
 (0)