diff --git a/r/src/altrep.cpp b/r/src/altrep.cpp index e90e06599be91..5c9c454aa7e76 100644 --- a/r/src/altrep.cpp +++ b/r/src/altrep.cpp @@ -87,9 +87,7 @@ class ArrowAltrepData { const std::shared_ptr& chunked_array() { return chunked_array_; } - arrow::ChunkLocation locate(int64_t index) { - return resolver_.Resolve(index); - } + arrow::ChunkLocation locate(int64_t index) { return resolver_.Resolve(index); } private: std::shared_ptr chunked_array_;