diff options
Diffstat (limited to 'src/alloc/system_alloc/defalloc.h')
-rw-r--r-- | src/alloc/system_alloc/defalloc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/alloc/system_alloc/defalloc.h b/src/alloc/system_alloc/defalloc.h index 27ee3cd8f..dcf552b8b 100644 --- a/src/alloc/system_alloc/defalloc.h +++ b/src/alloc/system_alloc/defalloc.h @@ -30,7 +30,10 @@ class Malloc_Allocator : public Allocator class Locking_Allocator : public Pooling_Allocator { public: - Locking_Allocator(Mutex* m) : Pooling_Allocator(m) {} + /** + * @param mutex used for internal locking + */ + Locking_Allocator(Mutex* mutex) : Pooling_Allocator(mutex) {} std::string type() const { return "locking"; } private: |