Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Or Friedmann committed Oct 30, 2023
1 parent 0cc7dfa commit f08697b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion memory/memory_allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ struct CustomDeleter {
CustomDeleter(size_t bytes = 0, MemoryAllocator* a = nullptr) : allocator(a), bytes_(bytes) {}

void operator()(char* ptr) const {
std::cout << ROCKSDB_NAMESPACE::usagemem::usageit.fetch_sub(bytes_) << std::endl;
if (allocator) {
allocator->Deallocate(reinterpret_cast<void*>(ptr));
} else {
Expand Down

0 comments on commit f08697b

Please sign in to comment.