diff options
Diffstat (limited to 'libs/pbd/pbd/pool.h')
-rw-r--r-- | libs/pbd/pbd/pool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/pool.h b/libs/pbd/pbd/pool.h index 8aff60fb6a..edc247332e 100644 --- a/libs/pbd/pbd/pool.h +++ b/libs/pbd/pbd/pool.h @@ -39,12 +39,12 @@ class LIBPBD_API Pool virtual void *alloc (); virtual void release (void *); - + std::string name() const { return _name; } guint available() const { return free_list.read_space(); } guint used() const { return free_list.bufsize() - available(); } guint total() const { return free_list.bufsize(); } - + protected: RingBuffer<void*> free_list; ///< a list of pointers to free items within block std::string _name; |