Allow to inline BufferAllocator::track_buffer_slice.
This commit is contained in:
parent
e0605b2013
commit
b97bd4848b
@ -29,9 +29,6 @@ int64 BufferAllocator::get_buffer_slice_size() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void BufferAllocator::track_buffer_slice(int64 size) {
|
|
||||||
}
|
|
||||||
|
|
||||||
size_t BufferAllocator::get_buffer_mem() {
|
size_t BufferAllocator::get_buffer_mem() {
|
||||||
return buffer_mem;
|
return buffer_mem;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,8 @@ class BufferAllocator {
|
|||||||
private:
|
private:
|
||||||
friend class BufferSlice;
|
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);
|
static ReaderPtr create_reader_fast(size_t size);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user