Place Pool in PBD namespace

A public class named "Pool" in the global namespace just
calls for symbol name conflicts.
This commit is contained in:
Robin Gareus 2022-07-07 05:07:11 +02:00
parent 8418e7c954
commit effc209070
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
7 changed files with 16 additions and 12 deletions

View file

@ -30,6 +30,8 @@
#include "pbd/libpbd_visibility.h"
#include "pbd/ringbuffer.h"
namespace PBD {
typedef void (*PoolDumpCallback) (size_t, void*);
/** A pool of data items that can be allocated, read from and written to
@ -171,4 +173,6 @@ private:
PBD::RingBuffer<CrossThreadPool*>* _trash;
};
} // namespace PBD
#endif // __qm_pool_h__