diff options
author | lloyd <[email protected]> | 2006-06-25 09:07:11 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-25 09:07:11 +0000 |
commit | 97529e8854a2e89bc839e013efd2b9b05479c148 (patch) | |
tree | b21d973df70c7734779904e5f8772a7f449f1356 /modules | |
parent | abdd958c0f4b1d880feec5e79230219005e43670 (diff) |
Have allocator objects 'know' their own names, rather than keeping them
around as ancillary strings.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/alloc_mmap/mmap_mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/alloc_mmap/mmap_mem.h b/modules/alloc_mmap/mmap_mem.h index 0530e54be..04923571d 100644 --- a/modules/alloc_mmap/mmap_mem.h +++ b/modules/alloc_mmap/mmap_mem.h @@ -17,6 +17,7 @@ class MemoryMapping_Allocator : public Pooling_Allocator { public: MemoryMapping_Allocator() : Pooling_Allocator(64*1024, false) {} + std::string type() const { return "mmap"; } private: void* alloc_block(u32bit); void dealloc_block(void*, u32bit); |