aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc/alloc_mmap/mmap_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc/alloc_mmap/mmap_mem.h')
-rw-r--r--src/alloc/alloc_mmap/mmap_mem.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/alloc/alloc_mmap/mmap_mem.h b/src/alloc/alloc_mmap/mmap_mem.h
index be1d06cff..521d85ea9 100644
--- a/src/alloc/alloc_mmap/mmap_mem.h
+++ b/src/alloc/alloc_mmap/mmap_mem.h
@@ -21,7 +21,10 @@ namespace Botan {
class MemoryMapping_Allocator : public Pooling_Allocator
{
public:
- MemoryMapping_Allocator(Mutex* m) : Pooling_Allocator(m) {}
+ /**
+ * @param mutex used for internal locking
+ */
+ MemoryMapping_Allocator(Mutex* mutex) : Pooling_Allocator(mutex) {}
std::string type() const { return "mmap"; }
private:
void* alloc_block(u32bit);