Skip to content

Commit c63e380

Browse files
committed
Fix lint
1 parent eb4217e commit c63e380

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

cpp/src/arrow/memory_pool_test.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,12 @@ TEST(Jemalloc, GetAllocationStats) {
293293

294294
class TestCappedMemoryPool : public ::arrow::TestMemoryPoolBase {
295295
public:
296-
MemoryPool* memory_pool() override { return InitPool(/*limit=*/ 1'000'000'000LL); }
296+
MemoryPool* memory_pool() override { return InitPool(/*limit=*/1'000'000'000LL); }
297297

298298
MemoryPool* InitPool(int64_t limit) {
299299
proxy_memory_pool_ = std::make_shared<ProxyMemoryPool>(default_memory_pool());
300-
capped_memory_pool_ = std::make_shared<CappedMemoryPool>(proxy_memory_pool_.get(), limit);
300+
capped_memory_pool_ =
301+
std::make_shared<CappedMemoryPool>(proxy_memory_pool_.get(), limit);
301302
return capped_memory_pool_.get();
302303
}
303304

@@ -319,7 +320,7 @@ TEST_F(TestCappedMemoryPool, Reallocate) { this->TestReallocate(); }
319320
TEST_F(TestCappedMemoryPool, Alignment) { this->TestAlignment(); }
320321

321322
TEST_F(TestCappedMemoryPool, AllocateLimit) {
322-
auto pool = InitPool(/*limit=*/ 1000);
323+
auto pool = InitPool(/*limit=*/1000);
323324

324325
uint8_t* data1;
325326
uint8_t* data2;
@@ -355,7 +356,7 @@ TEST_F(TestCappedMemoryPool, AllocateLimit) {
355356
}
356357

357358
TEST_F(TestCappedMemoryPool, ReallocateLimit) {
358-
auto pool = InitPool(/*limit=*/ 1000);
359+
auto pool = InitPool(/*limit=*/1000);
359360

360361
uint8_t* data1;
361362
uint8_t* data2;

0 commit comments

Comments
 (0)