diff options
Diffstat (limited to 'linker/linker_allocator.h')
-rw-r--r-- | linker/linker_allocator.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linker/linker_allocator.h b/linker/linker_allocator.h index e5b63c5..3af99da 100644 --- a/linker/linker_allocator.h +++ b/linker/linker_allocator.h @@ -37,7 +37,6 @@ class LinkerBlockAllocator { void init(size_t block_size); void* alloc(); void free(void* block); - void protect_page(void* block, int prot); void protect_all(int prot); private: @@ -63,7 +62,6 @@ class LinkerAllocator { void init() { block_allocator_.init(sizeof(T)); } T* alloc() { return reinterpret_cast<T*>(block_allocator_.alloc()); } void free(T* t) { block_allocator_.free(t); } - void protect_page(T* t, int prot) { block_allocator_.protect_page(t, prot); } void protect_all(int prot) { block_allocator_.protect_all(prot); } private: LinkerBlockAllocator block_allocator_; |