Skip to content

Commit

Permalink
Add missing return value
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Jan 6, 2017
1 parent 5142ac3 commit bd47f51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/arrow/io/io-file-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class MyMemoryPool : public MemoryPool {
void Free(uint8_t* buffer, int64_t size) override { std::free(buffer); }
Status Reallocate(int64_t old_size, int64_t new_size, uint8_t** ptr) override {
*ptr = reinterpret_cast<uint8_t*>(std::realloc(*ptr, new_size));
return Status::OK();
}

int64_t bytes_allocated() const override { return -1; }
Expand Down

0 comments on commit bd47f51

Please sign in to comment.