Allow to inline BufferAllocator::track_buffer_slice.

This commit is contained in:
levlam 2022-06-24 19:00:29 +03:00
parent e0605b2013
commit b97bd4848b
2 changed files with 2 additions and 4 deletions

View File

@ -29,9 +29,6 @@ int64 BufferAllocator::get_buffer_slice_size() {
return 0;
}
void BufferAllocator::track_buffer_slice(int64 size) {
}
size_t BufferAllocator::get_buffer_mem() {
return buffer_mem;
}

View File

@ -74,7 +74,8 @@ class BufferAllocator {
private:
friend class BufferSlice;
static void track_buffer_slice(int64 size);
static void track_buffer_slice(int64 size) {
}
static ReaderPtr create_reader_fast(size_t size);