Make Deallocator::need_size_for_free() pure virtual

This commit is contained in:
Christian Helmuth
2014-01-23 09:41:51 +01:00
parent 32f6d75cdb
commit 3234e4f775
15 changed files with 42 additions and 9 deletions

View File

@ -65,6 +65,8 @@ namespace Genode {
size_t avail() { return ~0; }
bool valid_addr(addr_t) { return true; }
size_t overhead(size_t) { return 0; }
bool need_size_for_free() const override { return true; }
};
Pseudo_ram_allocator _ram_alloc;